arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / supervise
fun <A> supervise(ctx:
CoroutineContext
= Dispatchers.Default, fa: suspend () -> A):
Stream
<
Fiber
<A>>
Starts the supplied task and cancels it as finalization of the returned stream.
Do you like Arrow?
✖