A reducer function combining an accumulator and element to produce a new accumulator.
ℹ️ Used in operations like reduce or scan to accumulate results.
reduce
scan
The element type.
The accumulator type.
A reducer function combining an accumulator and element to produce a new accumulator.
ℹ️ Used in operations like
reduce
orscan
to accumulate results.