Table of Contents

Method MatchNoneAsync

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

MatchNoneAsync(Func<Task>)

Runs an asynchronous action when there is no value, and otherwise does nothing.

Task MatchNoneAsync(Func<Task> onNone)

Parameters

onNone Func<Task>

Run when there is no value.

Returns

Task

A task that completes at the end of the action, or a completed task if a value is there.