marcinmoskala
01/11/2022, 9:03 AMMutableSharedFlow
? Seems that cancelling all listeners (so parent scope) is the only way for this program to close 😛
https://pl.kotl.in/EzyFeqARzJoffrey
01/11/2022, 9:18 AMstarted
strategy, the shared flow might stop/re-collect the underlying flow arbitrarily (when using shareIn
), so the end of the flow is not really the end.
To be honest what I miss most is that errors in the source flow don't propagate to the collectors, which I find kinda apalling. I think it would be nice to at least have a built-in way to materialize/dematerialize both errors and completions.gildor
01/11/2022, 9:21 AMbuilt-in way to materialize/dematerialize both errors and completionshttps://github.com/Kotlin/kotlinx.coroutines/issues/2092
kenkyee
01/11/2022, 1:14 PMJoffrey
01/11/2022, 4:16 PMonSubscription
, they pretty much have the same API as regular `Flow`s which do support errorsNick Allen
01/11/2022, 7:40 PM