ReactiveUI.Primitives.Advanced.SliceClosingWitness<T, TClosing>
Sink that hands out a window signal that ends when its own closing signal emits or completes.
Gets the subscription handed to the outer subscriber; the source stays subscribed while any window is.
public SliceClosingWitness(IObserver<IObservable<T>> observer, Func<IObservable<TClosing>> closingSelector)
Initializes a new instance of the SliceClosingWitness<T, U> class.
Assigns the source subscription, disposing the incoming one when this sink has been disposed.
Opens the first window and starts watching its closing signal before the source is subscribed.