Table of Contents

Delegate AsyncScatterGather<TRequest, TResponse, TResult>.ResponseAggregator

Namespace
PatternKit.Messaging.Routing
Assembly
PatternKit.Core.dll

Aggregation delegate receiving all envelopes that completed before the strategy fired.

public delegate TResult AsyncScatterGather<TRequest, TResponse, TResult>.ResponseAggregator(IReadOnlyList<ResponseEnvelope<TResponse>> envelopes, Message<TRequest> request, MessageContext context)

Parameters

envelopes IReadOnlyList<ResponseEnvelope<TResponse>>
Aggregation delegate receiving all envelopes that completed before the strategy fired.
request Message<TRequest>
Aggregation delegate receiving all envelopes that completed before the strategy fired.
context MessageContext
Aggregation delegate receiving all envelopes that completed before the strategy fired.

Returns

TResult
Aggregation delegate receiving all envelopes that completed before the strategy fired.