Node.js - Timers and Scheduling
In Node.js, why does
process.nextTick run before setTimeout and setImmediate?process.nextTick run before setTimeout and setImmediate?process.nextTick runsprocess.nextTick callbacks run immediately after the current operation, before the event loop continues to the next phase.process.nextTick callbacks run immediately after the current operation completes, before the event loop continues. -> Option Bprocess.nextTick runs before timers and I/O [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions