Rx - Aggregate vs. Scan

added by bnaya
1/24/2012 5:29:22 AM

0 Kicks, 66 Views

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