windowWhen
signature: windowWhen(closingSelector: function(): Observable): Observable
windowWhen(closingSelector: function(): Observable): Observable
Close window at provided time frame emitting observable of collected values from source.
Examples
Example 1: Open and close window at interval
( StackBlitz | jsBin | jsFiddle )
Additional Resources
:newspaper: - Official docs
:file_folder: Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowWhen.ts
Last updated