How to access the Event Loop from Node.js code? -
is there native function can executed node.js code outputs array or object containing information what's supposed in event loop?
recently there a request see in event loop, in io.js project. there 2 names of functions surfaced, in this comment,
process._getactivehandles()
gets handles still aliveprocess._getactiverequests()
gets info active libuv requests.
this can collect event loop, guess.
note: both of them undocumented functions , cannot rely on them in production code.
Comments
Post a Comment