Class AsyncScatterGatherResult<TResponse, TResult>
- Namespace
- PatternKit.Messaging.Routing
- Assembly
- PatternKit.Core.dll
Aggregated async scatter-gather result.
public sealed class AsyncScatterGatherResult<TResponse, TResult>
Type Parameters
TResponseTResult
- Inheritance
-
AsyncScatterGatherResult<TResponse, TResult>
- Inherited Members
Properties
Envelopes
Per-recipient response envelopes.
public IReadOnlyList<ResponseEnvelope<TResponse>> Envelopes { get; }
Property Value
- IReadOnlyList<ResponseEnvelope<TResponse>>
Name
The scatter-gather name.
public string Name { get; }
Property Value
RejectionReason
Reason for failure when Succeeded is false.
public string? RejectionReason { get; }
Property Value
Result
The aggregated result.
public TResult? Result { get; }
Property Value
- TResult
Succeeded
Whether any responses were aggregated.
public bool Succeeded { get; }