ReactiveUI.Primitives.Advanced.SliceTimeCountWitness<T>
Sink that hands out a window signal that ends when it holds a number of values or a duration has elapsed, whichever comes first.
Gets the subscription handed to the outer subscriber; the source stays subscribed while any window is.
public SliceTimeCountWitness(IObserver<IObservable<T>> observer, TimeSpan timeSpan, int count, ISequencer sequencer)
Initializes a new instance of the SliceTimeCountWitness<T> class.
Assigns the source subscription, disposing the incoming one when this sink has been disposed.
Opens the first window and starts its timer before the source is subscribed.