~/talk

Next Generation Asynchronous Patterns in JavaScript

Talkat NDC London 2017 · 2017-01-16..01-20· [javascript, reactive-programming]
links:none on file
slides:none on file

Covers concrete migration from callbacks to ES6 Promises, shows how ES6 Promises separate success/error and let you chain calls; demonstrates generator functions yielding values and being driven by .next to make async flows look sequential; introduces generators+co to unwrap promise-returning HTTP calls so try/catch works across async boundaries; maps that pattern to async/await (via TypeScript/Babel transpile) and notes runtime limits (older IE needs transpilation). Includes code-level examples and error-handling behavior, not just theory.

AI-written summary · about

  1. 0:00Start
  2. 0:29Next-Gen Async Patterns and Javascript
  3. 0:52Callbacks
  4. 4:05Promises
  5. 6:28Separate Errors from Success
  6. 7:33Named Functions
  7. 10:07Generator Function
  8. 12:40Generators in Async
  9. 15:24For of Loop
  10. 31:50Compatibility Table
  11. 43:55Debug in Chrome
~/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.