Web Development Node.js Objective
Sep 30, 2025

What is the difference between process.nextTick() and setImmediate()?

Choose the correct answer:
A) No difference
B) process.nextTick() executes before I/O events, setImmediate() executes after
C) setImmediate() executes before I/O events, process.nextTick() executes after
D) Both execute at the same time
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback