Async and Streaming JS - Are we doing it wrong?
summary
Promises become the default but cancellation not in ES6 promises creates real wasted work for autocomplete and long IO. Reactive Extensions show observables can implement mouse drag and autocomplete with linear code using flatMap takeUntil and debounce for autocomplete and handle polling and out‑of‑order responses. Node stream revisions and WHATWG streams aim to fix low‑level IO while reactive streams add backpressure via request N and pauseable buffer semantics. Async/await and proposed async generators promise simpler syntax without losing composability.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:10Quotes
- 7:35asynchronous programming landscape
- 9:43promises
- 15:10autocomplete
- 16:58FRP
- 17:31Generators
- 18:20Async await
- 19:09Stream processing
- 21:06Darts
- 21:36Reactive streams
- 22:14Observables
- 22:52Wrapup








