Chris Grigg
04/15/2021, 1:56 PMcollect on a SharedFlow and then call delay within the collect’s body, will it block other subscribers from retrieving emitted messages? My expectation is that it will because my understanding of flows is that they distribute messages synchronously through subscribers.Chris Grigg
04/15/2021, 1:57 PMmyFlow.collect {
delay(300)
doSomethingWith(it)
}
// elsewhere
myFlow.collect {
doSomethingElse(it)
}
Would the delay in the first collect have an impact on the second one?ephemient
04/15/2021, 2:42 PM