MessageHandlerDelegate<TMessage, TResult> delegate
Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll
A delegate representing the next step in a command/query pipeline. The message and cancellation token are passed explicitly to avoid closure allocations.
public delegate ValueTask<Result<TResult>> MessageHandlerDelegate<TMessage, TResult>(TMessage message, CancellationToken ct)Parameters
Section titled “Parameters”message TMessage
Returns
Section titled “Returns”Type Parameters
Section titled “Type Parameters”TMessage
The command or query type.
TResult
The success value type.