DEV Community

Discussion on: Avoid async/await hell

Collapse
 
gixxerblade profile image
Steve Clark 🤷‍♀️

At a high level, Node.js falls into the category of concurrent computation. This is a direct result of the single-threaded event loop being the backbone of a Node.js application. The event-loop repeatedly takes an event and then sequentially executes all listeners interested in that event. The event loop never runs two pieces of JavaScript in parallel.
bytearcher.com/articles/parallel-v...