~/talk

The Power of JS Generators

Talkat JSConf Budapest 2022 · 2022-06-02..06-03· [javascript, reactive-programming]
slides:none on file

Shows concrete tools and outcomes: implements a lazy deck-of-cards generator, uses async generators with fetch/paginated SWAPI to stream pages into a 408 of loop, demos an Observable animation driven by a generator pulled each animation frame, and builds a bank‑account state machine plus an actor‑model ping‑pong that actually runs until browser strain. Demonstrations run live and succeed: SWAPI yields items page by page, take/map handle infinite sequences, and the ping‑pong escapes the JS call‑stack via generators.

AI-written summary · about

  1. 0:00Start
  2. 9:21custom iterables with iterator
  3. 11:49lazy evaluation & infinite sequences
  4. 16:53recursive iteration with yield
~/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.