~/talk

There and back again Understanding Async Await

Talkat UtahJS Conf 2017 · on Wednesday, 2017-09-27· [javascript]
links:none on file
slides:none on file

Walks through callbacks → Promises → async/await with concrete code: shows callback-as-function, Promise constructor as a reversed-parameter callback, and that async is just sugar over Promises and that await wraps values with Promise.resolve. Demonstrates Promise.all for concurrency and the exact pattern to parallelize multiple awaits, highlights the common bug where awaiting then calling .filter causes an order‑of‑operations error, and contrasts try/catch with .catch for error handling in Node/React flows.

AI-written summary · about

  1. 0:00Intro
  2. 1:05What does it call back
  3. 2:35What is a callback
  4. 6:30What is a promise
  5. 11:55Async Await
  6. 16:15Async vs Promise
  7. 22:12Paralysis
  8. 25:13Promise Constructor
  9. 31:57Oneline Functions
  10. 33:50Order of Operations
~/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.