<PackageReference Include="ReactiveUI.Primitives.Core" Version="8.2.0" />

ReactiveUI.Primitives.Advanced.SliceBoundaryWitness<T, TBoundary>

public sealed class SliceBoundaryWitness<T, TBoundary> : IObserver<T>, IDisposable
Sink that hands out a window signal and starts the next window each time a boundary signal emits.
public IObserver<TBoundary> Boundaries { get; }

Gets the observer to subscribe to the boundary signal.

Gets the subscription handed to the outer subscriber; the source stays subscribed while any window is.

Initializes a new instance of the SliceBoundaryWitness<T, U> class.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)

public void SetSubscription(IDisposable subscription)

Assigns an upstream subscription, disposing the incoming one when this sink has been disposed.

public void Start()

Opens the first window before the source is subscribed.