AggregateAsync Method
AggregateAsync<TResult>(IAggregator<TResult>)
Aggregates values.
Declaration
Task<TResult> AggregateAsync<TResult>(IAggregator<TResult> aggregator)
Parameters
| IAggregator<TResult> | aggregator | The aggregator.  | 
    
Returns
| Task<TResult> | The result of the aggregation.  | 
    
Type Parameters
| TResult | The type of the result.  | 
    
Remarks
The aggregator must be serializable via Hazelcast serialization,
and have a counterpart on the server.
AggregateAsync<TResult>(IAggregator<TResult>, IPredicate)
Aggregates values.
Declaration
Task<TResult> AggregateAsync<TResult>(IAggregator<TResult> aggregator, IPredicate predicate)
Parameters
| IAggregator<TResult> | aggregator | The aggregator.  | 
    
| IPredicate | predicate | A predicate to filter the entries with.  | 
    
Returns
| Task<TResult> | The result of the aggregation.  | 
    
Type Parameters
| TResult | The type of the result.  | 
    
Remarks
The aggregator and predicate must be
serializable via Hazelcast serialization, and have a counterpart on the server.