~/talk

Bending time with Schedulers and RxJS 5

Talkat Best of Web 2018 · 2018-06-07..06-08· [reactive-programming, javascript]
slides:none on file

Shows why microtasks beat macrotasks with a concrete console example that prints 1 4 3 2, explains promises vs setTimeout, and uses RxJS to swap execution semantics by passing a scheduler argument or using subscribeOn/observeOn. Covers concrete schedulers: queue scheduler (synchronous), asap (microtasks), async (setInterval/setTimeout) and animationFrame, and demonstrates cancelling a scheduled job and rebuilding a frame-based animation that smooths dropped frames. Mentions RxJS 6 pipeable operators and the operator count dropping to about 100.

AI-written summary · about

  1. 0:00Introduction and warm-up
  2. 2:34Talk overview and speaker intro
  3. 6:51JavaScript event loop basics
  4. 12:40JavaScript call me maybe quirks
  5. 17:14Synchronous vs asynchronous tasks
  6. 21:53RxJS 6 schedulers introduction
  7. 23:15RxJS 6 new features and changes
  8. 26:37Observable implementations with schedulers
  9. 29:11Schedulers in browser environments
  10. 30:58Queue scheduler deep dive
  11. 32:02Asap and async schedulers
  12. 33:27Subscription cancellation and timing
  13. 34:29Animation frame scheduler
  14. 37:00Animation demo with RxJS
  15. 37:45Summary and resources
~/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.