ExceptionOptionalAsyncExtensions Class

Exception extensions

DECLARATION
public static class ExceptionOptionalAsyncExtensions
NAMESPACE
LanguageExt

Methods

Match<R>(Task<OptionalResult<R>>)
SUMMARY

Pattern matching for exceptions. This is to aid expression based error handling.

PARAMETERS
self
Task<OptionalResult<R>>
DECLARATION
[Pure]
public static LanguageExt.ExceptionMatchOptionalAsync<R> Match<R>(this Task<OptionalResult<R>> self)
RETURNS
LanguageExt.ExceptionMatchOptionalAsync<R>