arrow-effects-extensions / arrow.effects.extensions / IOEffect

IOEffect

@extension interface IOEffect : Effect<ForIO>, IOAsync

Functions

runAsync open fun <A> IOOf<A>.runAsync(cb: (Either<Throwable, A>) -> IOOf<Unit>): IO<Unit>

Extension Functions

catch fun <A> ApplicativeError<ForIO, Throwable>.catch(arg1: () -> A): IO<A>
just fun <A> A.just(): IO<A>
just fun <F, E, A> A.just(BR: Bracket<F, E>): Resource<F, E, A>

Inheritors

IOConcurrentEffect interface IOConcurrentEffect : ConcurrentEffect<ForIO>, IOEffect, IOConcurrent