4 ms·
I believe that's working but it's kind of pain because we need to passing context across function call. So I wonder whether there is better way to do that. I b
by albertlie 8y ago
I believe that's working but it's kind of pain because we need to passing context across function call. So I wonder whether there is better way to do that.
I believe node.js has async_hook feature that can capture context without passing function call, but it's still in experimental phase and won't work for tracing
- imauld 8y agoLike I said I've never worked with Node but being explicit seems like a better pattern than having some background async process do it.