Ahmed Ibrahim
02/26/2021, 3:53 PMonEach
variant but with onEachLatest
instead? I have a flow that has an onEach
operator on its chain, and in its body, there is a suspendCancellableCoroutine, and I want it to be cancelled when a new value is emitted, I tried looking around but couldn't find any.Ahmed Ibrahim
02/26/2021, 3:54 PM