pending callbacks phase
The event loop phase that runs I/O callbacks libuv deferred from the previous turn, such as some TCP error reports.
In more detail
Most application code never notices it. It exists so certain system callbacks run in a predictable place.
Related terms
- event loop phase — One of the six stages the Node.js event loop visits in order on every turn: timers, pending callbacks, idle/prepare, poll, check and close callbacks.
Taught in
- Event Loop Lifecycle: The Six Phases & libuv uv_run — Node.js Internals & Backend Services