~/talk

FS2 - CRASH COURSE

Talkat Scalar 2019 · 2019-04-05..04-06· [scala, reactive-programming]
slides:none on file

A ten-minute crash course shows FS2 producing pull-based effectful streams with IO, using evalMap for per-element side effects and bracket resource handling for safe acquisition/release. Examples include generating an infinite random stream and taking four elements, zipping streams, and streaming a Doobie database query into a JSON array (emit “[”, stream mapped rows with commas, emit “]”), plus a custom pipe that folds every four items into a summed output using a semigroup — stack-safe and working as shown.

AI-written summary · about

  1. 0:00Intro
  2. 0:48What is Stream
  3. 3:15Stream class
  4. 10:28Pool class
  5. 14:11Roadmap
~/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.