Table of Contents

Delegate AsyncStrategy<TIn, TOut>.Handler

Namespace
PatternKit.Behavioral.Strategy
Assembly
PatternKit.Core.dll

Asynchronous handler delegate that produces the result for a matching branch.

public delegate ValueTask<TOut> AsyncStrategy<TIn, TOut>.Handler(TIn input, CancellationToken ct)

Parameters

input TIn

The input value to handle.

ct CancellationToken

A cancellation token.

Returns

ValueTask<TOut>

A ValueTask<TResult> producing the result for the branch.

Extension Methods