Chapter 18 : UseCase15 - flatMapLatest
In this chapter we will focus on automatic cancellation of previous work when new data arrives.
Concept
flatMapLatest works like this:
Upstream emits a value.
A new inner flow starts.
If upstream e
kotlinflow.hashnode.dev4 min read