Skip to content

CommandHandlerDelegate<TCommand> delegate

Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll

A delegate representing the terminal step of a void-command pipeline. The handler still returns the non-generic Result; the executor adapts it to Result<Unit> before passing it through behaviors.

public delegate ValueTask<Result> CommandHandlerDelegate<TCommand>(TCommand command, CancellationToken ct)

command TCommand

ct CancellationToken

ValueTask<Result>

TCommand

The void command type.