Table of Contents

Delegate AsyncDecorator<TIn, TOut>.AroundTransform

Namespace
PatternKit.Structural.Decorator
Assembly
PatternKit.Core.dll

Async delegate for wrapping the entire execution with custom logic.

public delegate ValueTask<TOut> AsyncDecorator<TIn, TOut>.AroundTransform(TIn input, CancellationToken ct, AsyncDecorator<TIn, TOut>.Component next)

Parameters

input TIn
Async delegate for wrapping the entire execution with custom logic.
ct CancellationToken
Async delegate for wrapping the entire execution with custom logic.
next AsyncDecorator<TIn, TOut>.Component
Async delegate for wrapping the entire execution with custom logic.

Returns

ValueTask<TOut>
Async delegate for wrapping the entire execution with custom logic.