arrow-fx / arrow.fx.extensions / IOConcurrent / cancellable
open fun <A> cancellable(k: ((Either<Throwable, A>) -> Unit) -> CancelToken<ForIO>): Kind<ForIO, A>
Creates a cancellable F instance that executes an asynchronous process on evaluation. Derived from async and bracketCase.
See Also
Do you like Arrow?
✖