UVRun-12
This fork run with all version of node.js. I will maintain it until the official package will work correctly. Then, I'll remove it.
Usage
Bindings to the uvrun functions in libuv to node.js.
Normally these functions are implicitly called by node itself.
By using runOnce, you can have finer grained control of the event loop and know when it's idle.
var runOnce = runOnce; // Do something here, like make a server to keep the event loop busyvar TCP = processTCP;var server = ;server { console;};server;server; // Visualize each event loop tick using a custom event loop.console;do var ret = ; console; whileret;// If the code gets here, there are no events left and node's built-in uv_run won't block.