arrow-fx / arrow.fx.typeclasses / Concurrent / cancellableF

cancellableF

open fun <A> cancellableF(k: ((Either<Throwable, A>) -> Unit) -> Kind<F, CancelToken<F>>): Kind<F, A>

Builder to create a cancellable F instance that executes an asynchronous process on evaluation. Function derived from async and bracketCase.

See Also

cancellable

Do you like Arrow?

Arrow Org
<