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 queue has the highest priority in Node.js?

  1. A setTimeout callbacks
  2. B process.nextTick callbacks
  3. C Promise microtasks
  4. D setImmediate callbacks
Answer

process.nextTick callbacks

The nextTick queue is drained after the current operation and before promise microtasks or any event loop phase. Recursive nextTick calls can starve the loop entirely.

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