Search across all documentation pages
10 pages in this section.
What the event loop actually is, why Node is built around it, and how the call stack, phases, and microtasks fit together - the mental model behind every other page in this section.
Explore 9 Node.js Event Loop examples, from basic call stack order to microtask execution, and understand how synchronous code impacts performance.
Learn the fixed order of libuv event loop phases to understand timer drift, setImmediate behavior, and when I/O callbacks execute.
Understand the execution order of microtasks (Promises, process.nextTick) and macrotasks (timers, setImmediate) in Node.js to debug timing issues.
Learn how to use async/await in Node.js to write clear asynchronous code, handle errors, and avoid common pitfalls with practical examples.
Optimize Node.js event loop performance under load. Learn to offload CPU-heavy tasks, batch I/O operations, and measure lag to maintain responsiveness.
A single-page roundup of every highlight bullet from the 9 pages in the Event Loop section, grouped by source page so you can scan all 36 takeaways without opening each article individually.