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
envelopesIReadOnlyList<ResponseEnvelope<TResponse>>- Aggregation delegate receiving all envelopes that completed before the strategy fired.
requestMessage<TRequest>- Aggregation delegate receiving all envelopes that completed before the strategy fired.
contextMessageContext- Aggregation delegate receiving all envelopes that completed before the strategy fired.
Returns
- TResult
- Aggregation delegate receiving all envelopes that completed before the strategy fired.