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

ReactiveUI.Primitives.Extensions.TimerSinkState<T>

public sealed class TimerSinkState<T>
Stores timer ownership, terminal state and serialized delivery for a timer-driven operator sink.
public bool Done { get; }

Gets a value indicating whether the sink has terminated through error, completion or disposal.

public SwapDisposable Timer { get; }

Gets the timer slot used by the operator's OnNext logic to schedule deferred emissions.

public TimerSinkState(IObserver<T> downstream)

Stores timer ownership, terminal state and serialized delivery for a timer-driven operator sink.

public void Flush()

Delivers the queued notifications on the calling thread, or hands them to the thread already delivering.

public void HandleDisposeLocked()

Marks the sink terminal and disposes its timer without notification, while the caller holds its gate.

public bool QueueCompletedLocked()

Queues completion as the terminal notification and releases the timer while the caller holds its gate.

public bool QueueErrorLocked(Exception error)

Queues an error as the terminal notification and releases the timer while the caller holds its gate.

public bool QueueLocked(T value)

Queues a value for delivery while the caller holds its gate.