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
inputTIn- Async delegate for wrapping the entire execution with custom logic.
ctCancellationToken- Async delegate for wrapping the entire execution with custom logic.
nextAsyncDecorator<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.