tjohnn
12/22/2019, 3:56 PMFlow.collect() block the parent coroutine from executing the code under the flow until the flow is cancelled?
viewModelScope{
// code here get executed
someFlow.collect()
// code here never executes
}diesieben07
12/22/2019, 3:57 PMtjohnn
12/22/2019, 3:59 PMPablichjenkov
12/22/2019, 5:12 PMstreetsofboston
12/22/2019, 10:40 PMcollect is executed after the Flow ends (cancelled or ended/completed normally)Adam Powell
12/22/2019, 10:49 PMcollect throws CancellationException