check phase

The event loop phase straight after the poll phase, which runs callbacks scheduled with setImmediate.

In more detail

Because it always follows poll, setImmediate inside an I/O callback runs before a zero-delay setTimeout, which has to wait for the next timers phase. That makes setImmediate the dependable way to run code right after the current I/O has been handled.

Related terms

Taught in

References