The type of the elements in the source sequence.
The type of the result of the aggregation.
An iterable sequence to aggregate over.
The options which contains a callback and optional seed.
The final accumulator value.
Optional
seed: RGenerated using TypeDoc
Applies an accumulator function over an iterable sequence, returning the result of the aggregation as a single element in the result sequence. The seed value, if specified, is used as the initial accumulator value. For aggregation behavior with incremental intermediate results, scan.