~/talk

Unhandled rejections and other awaited promise tales

Talkat NodeConf NL 2019 · on Friday, 2019-06-07· [nodejs, javascript]
slides:none on file

Concrete claims and actions matter: Node Core adds a runtime flag that turns unhandled rejections into exceptions, V8 and Node 12 expose async stack traces (zero-cost) so the origin of awaited errors is visible, and several core APIs gain native promise variants (file system, DNS, events) instead of ad hoc wrappers. The talk demonstrates async/await refactors, explains why unhandled promise accumulation keeps processes running, and shows that the flag and native APIs actually land and make error handling and observability work better.

AI-written summary · about

  1. 0:00Rejections and promises
  2. 2:52Promises as language feature
  3. 8:13Async/await implications
  4. 11:20Unhandled rejections in Node.js
  5. 14:09Proper rejection handling
  6. 16:36Async stack traces in Chrome
  7. 17:17Node.js native promises
  8. 18:44Future improvements
~/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.