arrow-fx / arrow.fx.typeclasses / Concurrent / cancellable

cancellable

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

Creates a cancellable F instance that executes an asynchronous process on evaluation. Derived from async and bracketCase.

See Also

cancellableF

Do you like Arrow?

Arrow Org
<