Chapter 23 : UseCase20 - Buffering for Performance
There are real-world cases where producer is faster than consumer.
By default, Flow is sequential.
That means:
Upstream emits
Downstream processes
Only then next value emits
This is slow but safe.
But differing speeds of producers and consumers ...
kotlinflow.hashnode.dev2 min read