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

Author: Lydia Hallie
Published At: 2024-04-04T00:00:00
Length: 12:35

Summary

Description

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

- https://www.patreon.com/LydiaHallie

- https://buymeacoffee.com/lydiahallie

- https://twitter.com/lydiahallie

- https://www.linkedin.com/in/lydia-hallie/

- https://instagram.com/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

Translated At: 2025-03-14T12:08:12Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos