arrow-fx-coroutines / arrow.fx.coroutines / Fiber / invoke

invoke

operator fun <A> invoke(join: suspend () -> A, cancel: CancelToken): Fiber<A>

Fiber constructor.

Parameters

join - task that will await for the completion of the underlying Fiber.

cancel - task that will trigger the cancellation.

Do you like Arrow?

Arrow Org
<