Why Event Loop is important?
Most operating systems are multi-threaded and hence can handle multiple operations executing in the background. When one of these operations is completed, the kernel tells Node.js, and the respective callback assigned to that operation is added to the event queue which will eventually be executed. This will be explained further in detail later in this topic.
Node Event Loop
Node is a single-threaded event-driven platform that is capable of running non-blocking, asynchronous programming. These functionalities of Node make it memory efficient.
Table of Content
- What is the Event Loop?
- Why Event Loop is important?
- Features of Event Loop
- Working of the Event loop?
- Phases of the Event loop
- Conclusion