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

ReactiveUI.Primitives.Advanced.BufferWitness<T>

public sealed class BufferWitness<T> : IObserver<T>, IDisposable
Sink that batches source values into windows of a fixed size, opening a new window every skip values.
public BufferWitness(IObserver<IList<T>> observer, int count, int skip)

Sink that batches source values into windows of a fixed size, opening a new window every skip values.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)

public void SetSubscription(IDisposable subscription)

Assigns the upstream subscription, disposing the incoming one when this sink holds a subscription or has been disposed.