arrow-fx / arrow.fx.typeclasses / Concurrent / 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
Do you like Arrow?
✖