Which of these describes the poll phase of the event loop?
- A It executes timer callbacks
- B It retrieves new I/O events and executes their callbacks, blocking if there is nothing else to do
- C It runs setImmediate callbacks
- D It handles close events
Answer
It retrieves new I/O events and executes their callbacks, blocking if there is nothing else to do
Poll is where most useful work happens. If no timers are pending and no immediates are queued, the loop waits here for I/O.





