The Promised Path to Async, Awaits
summary
Shows a concrete refactor path: callback code from a production example dated about three years ago becomes a promise chain and then an async/await reads like sync function that runs in browsers and Node (Node 7 or via Babel). Demonstrates using promises, catch handlers avoid silent failures, and a small tool — Dr Zeus generator — that finds valid await positions; it runs and produces predictable results but warns that uncaught errors disappear unless the consumer adds a catch.
AI-written summary · about
chapters (4)
related talks
25mThe Long Road to Async/Await in JavaScript
32mPromises Are So Passé
42mBeyond Promises: Async Patterns in JavaScript
33mAsync Functions Awaiting You
22mFrom Promises through Generators to async/await in node.js
45mNext Generation Asynchronous Patterns in JavaScript
25mThe 80 20 Guide to Async Await
47mThere and back again Understanding Async Await
