In Kotlin's Flow API, when we run our emitter and collector on different coroutines, it's possible for the emitter to outpace the collector, producing new values faster than it can consume. What happens to the values when the collector isn't ready for them? In today's video, we look at three strategies we can use for this situation.
✨ New to Kotlin? Start your journey here: https://typealias.com/start/
🚀 Newsletter: https://newsletter.typealias.com/
👉 Coroutines course: https://courses.typealias.com/coroutines
Use promo code SPRING26 by April 30, 2026 for 33% off.
📚 Chapters
00:00 Introduction
00:28 Default Behavior of flowOn with a new dispatcher
01:44 Buffering and Operator Fusion
03:20 Conflation
04:19 Debouncing
06:53 Wrap-Up