Hacker News new | ask | show | jobs
by albertlie 2970 days 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

1 comments

Like I said I've never worked with Node but being explicit seems like a better pattern than having some background async process do it.