Mastering Callback Priority in JavaScript Programming

preview_player
Показать описание
The microtask queue is a key part of the event loop in JavaScript. It came out in 2015 when Promises were added to the language. But what is it? What is for? How is it different from the standard callback queue that came with JavaScript when it was introduced? Should I care? We'll take a quick but decisive look at its purpose in this CS Thursday video. Hit subscribe and make sure to say on top of your computer science concepts!

0:00 - Intro
0:38 - Example pseudo code
1:21 - JavaScript event loop basics
2:45 - The problem
3:59 - The promise (microtask) solution
5:40 - Advantages
Рекомендации по теме
Комментарии
Автор

You must settle your promise before carrying out any other queued tasks -JS Event Loop
Thanks Rob!

ahmad-murery
Автор

great explanation sir, will check out more tutorials on your channel :-)

varunpalsingh
Автор

please make a video on explaining async, await, promises, non-blocking nature :-)

varunpalsingh
visit shbcf.ru