pairwise
signature: pairwise(): Observable<Array>
pairwise(): Observable<Array>
Emit the previous and current values as an array.
Examples
Example 1:
( StackBlitz | jsBin | jsFiddle )
Additional Resources
:newspaper: - Official docs
:file_folder: Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/pairwise.ts
Last updated