Delegate AsyncActionDecorator<TIn>.AroundTransform
- Namespace
- PatternKit.Structural.Decorator
- Assembly
- PatternKit.Core.dll
Async delegate for wrapping the entire execution with custom logic.
public delegate ValueTask AsyncActionDecorator<TIn>.AroundTransform(TIn input, CancellationToken ct, AsyncActionDecorator<TIn>.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.
nextAsyncActionDecorator<TIn>.Component- Async delegate for wrapping the entire execution with custom logic.
Returns
- ValueTask
- Async delegate for wrapping the entire execution with custom logic.