Node.js is single-threaded, but what does it mean in practical terms? We will explore it by following this piece of code step by step. The V8 JavaScript engine manages a call stack, an essential piece that tracks which part of our program is running. The event loop connects the queue with the call stack.

3m read timeFrom dev.to
Post cover image
Table of contents
Pop quiz on the event loopConclusion
18 Comments

Sort: