DEV Community

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

Collapse
 
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.