Javascript: Macro vs Micro Tasks

Опубликовано: 16 Май 2025
на канале: A shot of code
24,260
630

In this video we look at the differences between how Macro and Micro tasks are scheduled by the browser. Micro tasks are executed immediately after the code that kicked them off completes. And Macro tasks will execute once the browser and finished all previously queued tasks. So a subtle but important difference between the two.

Further information on the Event Loop for javscript in Browsers:
   • Jake Archibald on the web browser eve...