Go with the Flow π
summary
Kotlin Flow is a Reactive Streams implementation built on coroutines that is cold, null-safe, and multiplatform. It claims backpressure is handled by suspending rather than special operators, offers asFlow and callbackFlow for incremental migration from RxJava, and preserves context with a single operator for dispatcher control. Migration guidance includes team safeguards and adapter libraries for Rx1/2, and testing uses coroutine scopes like runBlocking with take/first conversions to lists for easy assertions.
AI-written summary Β· about
chapters (14)
- 0:00Intro
- 0:57Coroutines Let's rewind a little bit
- 2:30Coroutine scope - Lifecycle scope
- 3:40A coroutine scope is kinda a subscription management system associated to lifecycle
- 5:23What is Flow?
- 5:51Basics
- 7:41Let's dive deeper
- 8:54Principles of Flow
- 9:26Context Preservation
- 10:02Exception Transparency
- 12:10Legacy Flow
- 15:50Fun part
- 16:35Testing
- 17:17Conclusion








