result
The function to call to get the result of the aggregation. The function receives the final state and should return the result of the aggregation.
The function to call to get the result of the aggregation. The function receives the final state and should return the result of the aggregation.