Learn RxJS
Search
⌃K
Learn RxJS
Search
⌃K
Introduction
Learn RxJS
Operators
Combination
Conditional
Creation
Error Handling
Multicasting
Filtering
Transformation
buffer
bufferCount
bufferTime
bufferToggle
bufferWhen
concatMap
concatMapTo
exhaustMap
expand
groupBy
map
mapTo
mergeMap / flatMap
mergeScan
partition
pluck
reduce
scan
switchMap
switchMapTo
toArray
window
windowCount
windowTime
windowToggle
windowWhen
Utility
Full Listing
Subjects
Recipes
Concepts
Powered By
GitBook
reduce
signature:
reduce(accumulator: function, seed: any): Observable
Reduces the values from source observable to a single value that's emitted when the source completes.
💡 Just like
Array.prototype.reduce()
💡 If you need the current accumulated value on each emission, try
scan
!