Projects each element of an observable sequence into zero or more windows.
// With window closing selector Rx.Observable.prototype.window(windowClosingSelector); // With window opening and window closing selector Rx.Observable.prototype.window(windowOpenings, windowClosingSelector); // With boundaries Rx.Observable.prototype.window(windowBoundaries);
Observable): Observable sequence whose elements denote the creation of new windows 2.
Observable): Sequence of window boundary markers. The current window is closed and a new window is opened upon receiving a boundary marker.
Function): A function invoked to define the closing of each produced window.
Observable): An observable sequence of windows.