arrow-fx-coroutines / arrow.fx.coroutines / ForkAndForget
suspend fun <A> ~~ForkAndForget~~(ctx:
CoroutineContext
= Dispatchers.Default, f: suspend () -> A):
Fiber
<A>
Deprecated: Use async with KotlinX Coroutines Structured Concurrency
Launches a new suspendable cancellable coroutine within a Fiber. You can Fiber.join or Fiber.cancel the computation.
BEWARE: you immediately leak the Fiber when launching without connection control. Use ForkConnected or safely launch the fiber as a Resource or using bracketCase.
See Also
Do you like Arrow?
✖