Delegate Command<TCtx>.Exec
- Namespace
- PatternKit.Behavioral.Command
- Assembly
- PatternKit.Core.dll
Asynchronous (or synchronous) execution delegate signature.
Return default / completed ValueTask for synchronous completion.
public delegate ValueTask Command<TCtx>.Exec(in TCtx ctx, CancellationToken ct)
Parameters
ctxTCtxContext (readonly reference).
ctCancellationTokenCancellation token.
Returns
- ValueTask
- Asynchronous (or synchronous) execution delegate signature. Return default / completed for synchronous completion.