https://kotlinlang.org logo
#coroutines
Title
# coroutines
m

Mohamed Ibrahim

03/04/2020, 3:03 PM
In Flow, Why there's a
completion
listener with throwable , wouldn't be just simpler to provide it for just completion, and we already have
catch {}
z

Zach Klippenstein (he/him) [MOD]

03/04/2020, 5:41 PM
The flow operators that deal with exceptions handle cancellation and downstream exceptions for you. But it's also a style thing - just like using
collect
vs `onEach`/`launchIn`.
e

elizarov

03/04/2020, 9:42 PM
Completion listener does not catch