Delegate Aggregator<TKey, TItem, TResult>.CompletionPolicy
- Namespace
- PatternKit.Messaging.Routing
- Assembly
- PatternKit.Core.dll
Determines whether a group is complete.
public delegate bool Aggregator<TKey, TItem, TResult>.CompletionPolicy(TKey key, IReadOnlyList<Message<TItem>> messages, MessageContext context)
Parameters
keyTKey- Determines whether a group is complete.
messagesIReadOnlyList<Message<TItem>>- Determines whether a group is complete.
contextMessageContext- Determines whether a group is complete.
Returns
- bool
- Determines whether a group is complete.