Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which of these describes the poll phase of the event loop?

  1. A It executes timer callbacks
  2. B It retrieves new I/O events and executes their callbacks, blocking if there is nothing else to do
  3. C It runs setImmediate callbacks
  4. 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.

All NodeJS MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as