The Evolution Of Asynchronous Javascript
summary
Covers how JavaScript handles asynchrony from the event loop through callbacks, promises and generators to async/await, with code examples showing callback “pyramid of doom,” wrapping callbacks in promises, and using generators to yield control while awaiting promises. Points out promises always resolve once and return a single value (problematic for repeated events like clicks), shows idioms for backward compatibility, and mentions transpiling newer syntax with Babel and tradeoffs such as performance and inversion of control.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:55Understanding Asynchronous JS
- 5:07Event Loop Basics
- 8:20Callback Hell Explained
- 13:23Promises Overview
- 22:46Generators in JS
- 27:23Async Await Solution
- 30:29Choosing Concurrency Models
related talks
46mAsynchronous JavaScript and non-concurrency
30mActually Understanding Asynchronous JavaScript
25mThe Long Road to Async/Await in JavaScript
45mNext Generation Asynchronous Patterns in JavaScript
32mJavaScript 7: the Evolution of JavaScript
01h 04m5 architectures of asynchronous JavaScript
23mAsync JS
26mRethink Async
