arrow-effects-data / arrow.effects.typeclasses

Package arrow.effects.typeclasses

Types

Async interface Async<F> : MonadDefer<F>
Bracket interface Bracket<F, E> : MonadError<F, E>
Concurrent interface Concurrent<F> : Async<F>
ConcurrentCancellableContinuation open class ConcurrentCancellableContinuation<F, A> : MonadDeferCancellableContinuation<F, A>, Concurrent<F>, FxSyntax<F>
ConcurrentEffect interface ConcurrentEffect<F> : Effect<F>
Dispatchers interface Dispatchers<F>
Duration data class Duration
Effect interface Effect<F> : Async<F>
Environment interface Environment<F>
ExitCase sealed class ExitCase<out E>
Fiber interface Fiber<F, A>
Fiber represents the pure result of an Async data type being started concurrently and that can be either joined or canceled.
MonadDefer interface MonadDefer<F> : MonadThrow<F>, Bracket<F, Throwable>
MonadDeferCancellableContinuation open class MonadDeferCancellableContinuation<F, A> : MonadErrorContinuation<F, A>, MonadDefer<F>, BindSyntax<F>
UnsafeRun interface UnsafeRun<F>

Type Aliases

ConnectedProc typealias ConnectedProc<F, A> = (KindConnection<F>, (Either<Throwable, A>) -> Unit) -> Unit
A connected asynchronous computation that might fail.
ConnectedProcF typealias ConnectedProcF<F, A> = (KindConnection<F>, (Either<Throwable, A>) -> Unit) -> Kind<F, Unit>
A connected asynchronous computation that might fail.
Disposable typealias Disposable = () -> Unit
Proc typealias Proc<A> = ((Either<Throwable, A>) -> Unit) -> Unit
An asynchronous computation that might fail.
ProcF typealias ProcF<F, A> = ((Either<Throwable, A>) -> Unit) -> Kind<F, Unit>
A asynchronous computation that might fail.
Race2 typealias Race2<A, B> = Either<A, B>
Alias for Either structure to provide consistent signature for race methods.
Race3 typealias Race3<A, B, C> = Either<Either<A, B>, C>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
Race4 typealias Race4<A, B, C, D> = Either<Either<A, B>, Either<C, D>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
Race5 typealias Race5<A, B, C, D, E> = Either<Race3<A, B, C>, Race2<D, E>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
Race6 typealias Race6<A, B, C, D, E, G> = Either<Race3<A, B, C>, Race3<D, E, G>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
Race7 typealias Race7<A, B, C, D, E, G, H> = Race3<Race3<A, B, C>, Race2<D, E>, Race2<G, H>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
Race8 typealias Race8<A, B, C, D, E, G, H, I> = Race4<Race2<A, B>, Race2<C, D>, Race2<E, G>, Race2<H, I>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
Race9 typealias Race9<A, B, C, D, E, G, H, I, J> = Race4<Race3<A, B, C>, Race2<D, E>, Race2<G, H>, Race2<I, J>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.
RacePair typealias RacePair<F, A, B> = Either<Tuple2<A, Fiber<F, B>>, Tuple2<Fiber<F, A>, B>>
Alias for Either structure to provide consistent signature for race methods.
RaceTriple typealias RaceTriple<F, A, B, C> = Either<Tuple3<A, Fiber<F, B>, Fiber<F, C>>, Either<Tuple3<Fiber<F, A>, B, Fiber<F, C>>, Tuple3<Fiber<F, A>, Fiber<F, B>, C>>>
Alias for nested Either structures to provide nicer signatures and overload with a convenience fold method.

Extensions for External Classes

arrow.core.Either  
kotlin.Int  
kotlin.Long  

Type Class Hierarchy