<PackageReference Include="ReactiveUI.Primitives" Version="10.0.0" />

ReactiveUI.Primitives.Advanced.SliceTimeWitness<T>

public sealed class SliceTimeWitness<T> : IObserver<T>, IDisposable
Sink that hands out a window signal of a fixed duration, opening a new window every time shift.
public SharedSubscription Subscription { get; }

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

public SliceTimeWitness(IObserver<IObservable<T>> observer, TimeSpan timeSpan, TimeSpan timeShift, ISequencer sequencer)

Initializes a new instance of the SliceTimeWitness<T> class.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)

public void SetSubscription(IDisposable subscription)

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

public void Start()

Opens the first window and starts the timer before the source is subscribed.