~/talk

Async Functions Awaiting You

Talkat JSPoland Conf 2017 · on Monday, 2017-06-19· [javascript, developer-experience]
slides:none on file

Argues that ES2017 async/await is a native replacement for generator-based co‑routines and library patterns (co Bluebird redux‑saga), demonstrates sequential code versus parallel with Promise.all and aggregates like Promise.race / any / some, shows that async functions always return a Promise, exposes a practical pitfall where forEach can't await (nested callbacks don’t pause, need serial reduce), presents async iteration and for await...of (stage‑3) and notes the controversial usefulness and danger of top‑level await food gun.

AI-written summary · about

  1. 0:00Start
  2. 7:25Parallel Processing
  3. 11:36Generators vs run to completion
  4. 18:45Sequential Processing op1
  5. 24:04Pipeline scope
  6. 24:24No nested functions
  7. 28:12Async Arrow Functions
  8. 29:36Async Iteration stage 3 proposal
  9. 32:44Top-level await
~/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.