DEV Community

Discussion on: Node.js Under The Hood #3 - Deep Dive Into the Event Loop

 
saru998 profile image
Saransh khobragade • Edited

Hi lucas, your explanation was great and crisp and output is also right according to your explanation setInterval wont get called. Before that settimeout 2 's micro task promises will get printed and then set interval macro task should proceed as next tick but because interval got cleared it wont.

Thread Thread
 
_staticvoid profile image
Lucas Santos

Sorry, I did not understand your question, could you please rephrase it?