~/talk

The Long Road to Async/Await in JavaScript

Talkat NodeConf Argentina 2017 · on Saturday, 2017-10-28· [javascript, typescript]
slides:none on file

Traces a concrete evolution: synchronous -> callbacks -> promises -> generators -> async/await, with code examples showing callback hell and promise chaining, generator wiring and Co turning yields into promises, and modern async/await running on Node 8.3 with util.promisify or Bluebird polyfills to convert Node callbacks. Notes interop (async functions return promises), try/catch for awaited errors, Edge implementing async/await first, and a practical gotcha: awaiting makes independent I/O sequential unless wrapped with Promise.all.

AI-written summary · about

  1. 0:00Intro
  2. 0:44Outline
  3. 1:28Synchronous Code
  4. 3:45Callbacks
  5. 8:38Promises
  6. 11:42Generators
  7. 15:50Phase IV
  8. 24:36Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.