<https://github.com/Kotlin/kotlinx.coroutines/pull...
# coroutines
a
are flows kinda jank for this then??? seems like it is bad that you have to throw an exception to exit a
Flow
...
it would seem this would break the purpose of `Flow`s
e
There is nothing bad. It just the way cancellation works with coroutines. And you don’t have to implement it yourself -
first
implementation does it for you.