~/talk

Operation Flow

Talkat Chicago Roboto 2021 · on Tuesday, 2021-09-28· [kotlin]
links:none on file
slides:none on file

Covers concrete operator behavior (buffer, debounce, flatMapLatest, combine, zip), explains when to use take versus first, and distinguishes hot versus cold flows with practical semantics. Demonstrates testing hot flows with Turbine, and notes KMP support for sharing Kotlin Flows. Shows a runnable example project Rion and compares SharedFlow and StateFlow including eager versus replay behavior, emit versus tryEmit, and gotchas around exceptions, cancellation, and resource cleanup.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26What is a Flow
  3. 3:16Coupling coroutines and Flow
  4. 5:06Flow creators and builders
  5. 8:03Intermediate flow operators
  6. 10:29Distinct, buffer, debounce
  7. 14:07onStart, onEach, onEmpty
  8. 17:59Exception handling with catch
  9. 20:08Context switching with flowOn
  10. 20:49Transform and zip operators
  11. 24:01FlatMap operators differences
  12. 27:13Reduce and scan operators
  13. 29:07Terminal operators
  14. 32:18Cold vs hot flows
  15. 34:07SharedFlow and StateFlow
  16. 37:21Testing flows
  17. 38:50Q&A
~/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.