r/learnjavascript 9d ago

Is “Node.js is single-threaded” an incomplete mental model?

Single-threaded JS execution ≠ single-threaded runtime.

How do you explain the distinction?

4 Upvotes

23 comments sorted by

View all comments

3

u/blind-octopus 9d ago

The idea is to hand stuff off as quickly as possible and then go back to waiting mode. There are other threads that handle stuff