I am looking for Observable.Window like operator with opening window selector
As example we can take a sequence of natural numbers. I am wondering how to split this sequence into windows so every new window starts if number is greater than 4 or window size has reached 3
Input sequence is IObservable<int>
Output sequence is IObservable<IObservable<int>>
Sequence 1 2 5 3 1 1 2 3 1 5 0 will produce windows 1 2; 5 3 1; 1 2 3; 1; 5 0