DiscoverySenderCommandHandlerBaseHandleCompletedCommandAsync - метод
Make decision about whole command success.
Пространство имён: Tessa.Discovery.SendersСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public virtual ValueTask<ValidationResult> HandleCompletedCommandAsync(
IList<DiscoveryCommandResponse> responses,
CancellationToken cancellationToken = default
)
Public Overridable Function HandleCompletedCommandAsync (
responses As IList(Of DiscoveryCommandResponse),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
public:
virtual ValueTask<ValidationResult^> HandleCompletedCommandAsync(
IList<DiscoveryCommandResponse^>^ responses,
CancellationToken cancellationToken = CancellationToken()
)
abstract HandleCompletedCommandAsync :
responses : IList<DiscoveryCommandResponse> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override HandleCompletedCommandAsync :
responses : IList<DiscoveryCommandResponse> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- responses IListDiscoveryCommandResponse
- Responses list.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskValidationResultDecision result.
IDiscoverySenderCommandHandlerHandleCompletedCommandAsync(IListDiscoveryCommandResponse, CancellationToken)