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

dave08

12/16/2018, 3:09 PM
Is there any way to get an exception that was caught in
produce
on the receiving end (apart from a sealed class, all I need is a Long progress value, and it's a pity to have to box/unbox them unecessarily)?
m

Michal Fudala

12/16/2018, 3:14 PM
could you give some example code ?
If you remove the try/catch in produce, it crashes.
And on the receiving side, I have no idea why...
isn't this what you want ?
4 Views