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,

  1. process._getactivehandles() gets handles still alive

  2. process._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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -