The Accumulate operator returns the current value of the cumulative sum each time the source sequence emits a notification. The result sequence terminates successfully when the source sequence terminates successfully.
Examples
Use Accumulate to compute the running sum of a sequence of periodic values.
Related Operators
Use Sum instead to yield a single accumulated value at the end of a sequence.