Javascript: Macro vs Micro Tasks

Published: 21 November 2019
on channel: A shot of code
23,781
628

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


Watch video Javascript: Macro vs Micro Tasks online without registration, duration hours minute second in high quality. This video was added by user A shot of code 21 November 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 23,781 once and liked it 628 people.