JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue

Published: 04 April 2024
on channel: Lydia Hallie
542,568
35k

Learn how the browser event loop, task queue, microtask queue, and Web APIs work together to enable non-blocking, asynchronous JavaScript.

  / lydiahallie  
https://buymeacoffee.com/lydiahallie
  / lydiahallie  
  / lydia-hallie  
  / theavocoder  

Timestamps:
0:00 Intro
0:32 Call Stack
1:18 Single-threaded Problem
2:01 Web APIs
2:47 Callback-based APIs
4:04 Task Queue
4:39 setTimeout
6:22 Microtask Queue
8:40 Promisifying Callbacks
8:57 Challenge
10:52 Recap
11:58 Outro


On this page of the site you can watch the video online JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue with a duration of hours minute second in good quality, which was uploaded by the user Lydia Hallie 04 April 2024, share the link with friends and acquaintances, this video has already been watched 542,568 times on youtube and it was liked by 35 thousand viewers. Enjoy your viewing!