LanguageExt.Core

LanguageExt.Core Effects Aff Catch

Contents

struct AffCatch <A> Source #

Constructors

constructor AffCatch (Func<Error, Aff<A>> fail) Source #

constructor AffCatch (Func<Error, bool> predicate, Func<Error, Aff<A>> fail) Source #

Methods

method ValueTask<Fin<A>> Run (Error error) Source #

Operators

operator | (CatchValue<A> ma, AffCatch<A> mb) Source #

operator | (CatchError ma, AffCatch<A> mb) Source #

operator | (AffCatch<A> ma, CatchValue<A> mb) Source #

operator | (AffCatch<A> ma, CatchError mb) Source #

operator | (AffCatch<A> ma, AffCatch<A> mb) Source #

operator | (AffCatch<A> ma, EffCatch<A> mb) Source #

operator | (EffCatch<A> ma, AffCatch<A> mb) Source #

struct AffCatch <RT, A> Source #

where RT : struct, HasCancel<RT>

Constructors

constructor AffCatch (Func<Error, Aff<RT, A>> fail) Source #

constructor AffCatch (Func<Error, bool> predicate, Func<Error, Aff<RT, A>> fail) Source #

Methods

method ValueTask<Fin<A>> Run (RT env, Error error) Source #

Operators

operator | (CatchValue<A> ma, AffCatch<RT, A> mb) Source #

operator | (CatchError ma, AffCatch<RT, A> mb) Source #

operator | (AffCatch<RT, A> ma, CatchValue<A> mb) Source #

operator | (AffCatch<RT, A> ma, CatchError mb) Source #

operator | (AffCatch<RT, A> ma, AffCatch<RT, A> mb) Source #

operator | (AffCatch<RT, A> ma, EffCatch<RT, A> mb) Source #

operator | (AffCatch<RT, A> ma, EffCatch<A> mb) Source #

operator | (EffCatch<RT, A> ma, AffCatch<RT, A> mb) Source #

operator | (EffCatch<A> ma, AffCatch<RT, A> mb) Source #

operator | (AffCatch<A> ma, AffCatch<RT, A> mb) Source #

operator | (AffCatch<RT, A> ma, AffCatch<A> mb) Source #

operator | (Aff<A> ma, AffCatch<RT, A> mb) Source #

operator | (Eff<A> ma, AffCatch<RT, A> mb) Source #

operator | (Eff<RT, A> ma, AffCatch<RT, A> mb) Source #