Giver KdkforGiver's NodeJS Bloggiver-node.hashnode.dev·Nov 10, 2023Node.js: Event LoopWhat is an Event Loop? By default, JS is designed to handle synchronous tasks only. Event Loop is a process by which Node.js handles asynchronous functions. Let's see a code example and see which line of code gets printed first: // Asynchronous Timer...Discuss·57 readsphases of event loop of node js
Jayesh Chauhanofficialjitandrachauhan.hashnode.dev·Mar 23, 2023Phases of Event loop of Node jsThe Node.js event loop has several phases that it goes through to manage asynchronous operations. The five main phases of the Node.js event loop are: Poll: In this phase, Node.js will check for new I/O events and execute any callbacks that are waiti...Discuss·28 readsphases of event loop of node js