DEV Community

Understanding Microtasks and tasks in JS

Pulkit Kashyap on August 18, 2019

Well, as Javascript developers we all are in a habit of using promises, timers etc. Whenever we think of making a particular piece of code asynchr...
Collapse
 
somedood profile image
Basti Ortiz

Well, that was more straightforward than I first expected. For further reading to those interested, here's a great talk about the JavaScript event loop:

Collapse
 
mebble profile image
Neil Syiemlieh

This other talk provides more detail on microtasks and works great as a continuation of that one

Collapse
 
anduser96 profile image
Andrei Gatej

This article made things clear for me as well!