~/talk

Next Generation Asynchronous Patterns in JavaScript

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [javascript, reactive-programming]
links:none on file
slides:none on file

Covers concrete migration paths: use Promises (fetch + .then/.catch) to avoid callback hell; use generators (or co) to yield promises and wrap async flows in a single try/catch; use async/await to write linear, nonblocking code; use RxJS observables for power features like retry(3) (initial try + 3 retries = 4 attempts) and unsubscribe-driven cancellation that actually aborts the Express request on the server. Demos show code, a failing 500 response, retries, and real cancellation behavior.

AI-written summary · about

  1. 0:00Intro
  2. 2:08The Event Loop
  3. 9:19Promises
  4. 14:05Asynchronous Patterns
  5. 15:05Generators
  6. 22:43Observables
  7. 29:04Demo
  8. 29:39Express Server
  9. 30:59Error
  10. 32:49Unsubscribe
  11. 33:54Cancel Request
  12. 36:34Unsubscribe Later
  13. 37:04Cancel Later
  14. 38:34Conclusion
~/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.