bufferWhen
signature: bufferWhen(closingSelector: function): Observable
bufferWhen(closingSelector: function): Observable
Collect all values until closing selector emits, emit buffered values.
Examples
Example 1: Emit buffer based on interval
( StackBlitz | jsBin | jsFiddle )
Additional Resources
bufferWhen 📰 - Official docs
bufferWhen - In Depth Dev Reference
📁 Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferWhen.ts
Last updated