Callback Queue VS Microtask Queue

Publicado em: 18 Novembro 2020
no canal de: procademy
8,783
319

In this lecture, you will learn what is Callback queue and Microtask Queue and which one takes the priority over another.

A callback function can wait for its execution in any one of the queue i.e. callback queue or microtask queue and once the call stack is empty, event loop pushes the callback functions from these queues to call stack for there execution.

Microtask queue takes priority over the callback queue and callback functions of Microtask queue are executed first. Once all the functions of callback queue are executed completely, then only callback functions of callback queue gets executed.


Nesta página do site você pode assistir ao vídeo on-line Callback Queue VS Microtask Queue duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário procademy 18 Novembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 8,783 vezes e gostou 319 espectadores. Boa visualização!