kotlin-coroutines-flows
Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing. Use when writing coroutines or Flow code on Android or KMP, or debugging cancellation and concurrency.
- installs 8w
- 1,868
- 30-day movement
- starts with the next reading
- Related entries
- 5
- Connections
- 0
An agent skill providing Kotlin Coroutines and Flow patterns for Android and Kotlin Multiplatform, covering structured concurrency, Flow/StateFlow/SharedFlow usage, dispatchers, cancellation, error handling, and testing with Turbine and TestDispatcher. It also lists anti-patterns such as GlobalScope usage and collecting flows without a scope.
Reach for it when writing or debugging coroutine and Flow code on Android or KMP so you follow structured concurrency and testing conventions.
Use it to
- Write structured concurrent coroutine code
- Convert one-shot calls to Flow streams
- Manage UI state with StateFlow
- Test Flows with Turbine and TestDispatcher
- Debug cancellation and concurrency issues
For Android and Kotlin Multiplatform developers writing async code
- Host repository
- affaan-m/ECC
- Installs, lifetime
- 3,100
- Installs, 8 weeks
- 1,868
- Host stars
- 259k
- Host language
- JavaScript