Table of Contents

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

TResponse
TResult
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

string

RejectionReason

Reason for failure when Succeeded is false.

public string? RejectionReason { get; }

Property Value

string

Result

The aggregated result.

public TResult? Result { get; }

Property Value

TResult

Succeeded

Whether any responses were aggregated.

public bool Succeeded { get; }

Property Value

bool