1 Matching Annotations
- Sep 2018
-
nolanlawson.com nolanlawson.com
-
It's important to understand that in the Event Loop there are Tasks & Microtasks. The Microtask queue is exhausted before returning to the Task queue - and Microtasks can queue other Microtasks, hance why the for loop in this example will block any other execution.
-