Rx - Aggregate vs. ScanRx - Aggregate vs. Scan
this post will focus on 2 Rx operators Aggregate and Scan.
both Aggregate and Scan are dealing with event streamaccumulation, the only difference is that Aggregate produce single result (upon the stream completion)
and Scan present an ongoing runtime accumulation which react for eachOnNext.
both operators has 2 overloads with the same signature:Code SnippetIObservable (more)