Answer the question
In order to leave comments, you need to log in
Is it possible to observe a custom event loop in NODE.JS?
Is there any way to observe events in the event loop in NODE.JS?
Answer the question
In order to leave comments, you need to log in
Maybe subscribe to them? And when someone emitted an event, then write to the array that the event occurred. When the event callback is completed, remove it from this array.
Or the node may have an API for reading the event loop. But third-party callbacks can also lie there. from other libraries. All sorts of fs modules
Maybe this will suit you
https://stackoverflow.com/questions/30757182/how-t...
There api with libuv. For reading from event loop
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question