poll phase

The event loop phase that asks the operating system for new I/O events, runs their callbacks, and sleeps when there is nothing to do.

In more detail

If no timers are due and no setImmediate callbacks are queued, libuv blocks here, without using CPU, until I/O arrives or the next timer expires. If setImmediate callbacks are waiting it does not sleep and moves straight to the check phase.

Related terms

Taught in

References