LanguageExt.Core

LanguageExt.Core Effects IO DSL

Contents

record InvokeAsync <A> Source #

Base-type of the DSL types used by the IO monad. Use this to extend the core IO functionality.

Parameters

type A

Bound value type

Methods

method ValueTask<A> Invoke (EnvIO envIO) Source #

method string ToString () Source #

record InvokeAsyncIO <A> Source #

Base-type of the DSL types used by the IO monad. Use this to extend the core IO functionality.

Parameters

type A

Bound value type

Methods

method ValueTask<IO<A>> Invoke (EnvIO envIO) Source #

method string ToString () Source #

record InvokeSync <A> Source #

Base-type of the DSL types used by the IO monad. Use this to extend the core IO functionality.

Parameters

type A

Bound value type

Methods

method A Invoke (EnvIO envIO) Source #

method string ToString () Source #

record InvokeSyncIO <A> Source #

Base-type of the DSL types used by the IO monad. Use this to extend the core IO functionality.

Parameters

type A

Bound value type

Methods

method IO<A> Invoke (EnvIO envIO) Source #

method string ToString () Source #

record IOCatch <A> Source #

Base-type of the IOCatch〈X, A〉 DSL-type used by the IO monad.

Use this to extend the core IO exception catching functionality.

Parameters

type A

Bound value type

Methods

method IO<A> MakeOperation () Source #

Provide the IO computation to run inside the try block

Parameters

returns

IO computation to run inside the try block

method Func<Exception, IO<A>> MakeHandler () Source #

Provide the handler that will accept an Exception if one is thrown.

Parameters

returns

Function to handle exceptions that returns an IO

method string ToString () Source #