Skip to content
0:00 / 0:00

#eventloop#settimeout#setimmediate

Node.js Tutorial - 42 - Event Loop

Codevolution

759K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.

Intermediate. Assumes working knowledge.

198K views3 years ago2 recommendations

Systems programmingProgramming languagesNode.js, Deno and BunConcurrency and parallelismJavaScript

An explanation of the Node.js event loop phases, including the timer, I/O, and check queues.

⚡️Syncfusion components: syncf.co/3Emhvnv 💖 Support UPI - support.codevolution.dev/ 💖 Support Paypal - paypal.me/Codevolution 💾 Github - github.com/gopinav 📱 Follow Codevolution + Facebook - facebook.com/codevolutionweb Event Loop Event Loop in Node.js Node.js Event Loop Node.js Tutorial Node.js Tutorial for Beginners Become an AI Engineer with Scrimba scrimba.com/t0ai?via=Codevolution (Start Free, save 20% on Pro) Discord - discord.gg/KNjSW92EG X - x.com/CodevolutionWeb Business - codevolution.business@gmail.com

Why it's here

2 people recommend this

What people say. Recommended as an accurate visual guide to understanding the execution order of the Node.js event loop.

Moments people linked to

u/rainmaker2kin r/node • Recommends

On “What do you think is the correct order of execution in this case? It seems easier, but I had a big debate with a friend. ”

Between setTimeout and setImmediate, setTimeout will run first and then setImmediate. setTimeout is processed in the timer queue, setImmediate is processed in the check queue, which comes after the timer queue and I/O queue. Please take a look at [video for reference.
3View on Reddit

u/ZokaZultoin r/node • Recommends

On “Event Loop Phases and queues”

Most accurate description for nodejs event loop

u/Hot-Lead6249in r/node • Mentions

On “A Complete Visual Guide to Understanding the Node.js Event Loop”

it's not original article, the origin is link to this video