Node.jsQuestion 02 of 26
The event loop in Node.js
Answer out loud or in your head first, then compare.
Answer
It lets Node.js handle many I/O operations without creating a JS thread per request.
JS code runs mainly on one thread, while the operating system and libuv can carry out asynchronous operations outside the main call stack.
How did it go? Be honest — “Not yet” puts the question on your review list.
Related questions
- B-P03 · What is the event loop? — JavaScript, TypeScript and Node.js
- What do you understand about event loop? — JavaScript