~/talk

Go with the Flow

slides:none on file

Kotlin Flow is cold, operator lambdas are suspending, and context preservation means flowOn only affects upstream. The talk explains internals (emitter/collector links, operators as a linked list), contrasts StateFlow uses SharedFlow(replay=1) vs SharedFlow with configurable replay, shows using callbackFlow for callbacks, conversion paths from Rx (asFlow and a custom Rx1→Flow library used in production), and testing with runTest and injectable test dispatchers.

AI-written summary · about

  1. 0:00Introduction to flow
  2. 1:03Coroutines and concurrency
  3. 3:41Understanding flow basics
  4. 6:22Internal mechanics
  5. 9:42Ideologies and principles
  6. 12:51Operators and chaining
  7. 15:40Flow in MVVM architecture
  8. 18:36State and shared flows
  9. 21:51Dispatcher management
  10. 23:51Lifecycle and UI integration
  11. 28:40Compose integration
  12. 29:52Legacy callback integration
  13. 31:18Migrating from RxJava
  14. 33:14Testing flows
~/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.