This animation demonstrates how Kotlin's Flow is cold by showing a Producer and Consumer side by side. It first reveals that simply building a Flow triggers no work at all. Only when the Consumer calls collect() does the Producer start running its code, emitting values one, two, and three that visibly travel across to the Consumer. Useful for beginner Kotlin or Android developers learning coroutines and asynchronous data streams.
16:9 · Preview before teaching · automatic layout checks do not establish subject accuracy
"Explain Kotlin Cold Flow using only a Producer and Consumer. Show that creating the Flow does nothing. When the Consumer calls collect(), the Producer starts executing. Animate emit(1), emit(2), emit(3) travelling to the Consumer." Audience: beginner