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

ReactiveUI.Primitives.Advanced.CurrentValueDelivery<T>

Serialized, non-blocking delivery of a value that is read again each time it changes, held as a mutable field by the subscription that observes it.
public bool IsTerminated { get; }

Gets a value indicating whether the terminal notification has been delivered or delivery was stopped.

public CurrentValueDelivery(bool distinctUntilChanged)

Initializes a new instance of the CurrentValueDelivery<T> struct.

Initializes a new instance of the CurrentValueDelivery<T> struct.

public static bool op_Equality(CurrentValueDelivery<T> left, CurrentValueDelivery<T> right)

public static bool op_Inequality(CurrentValueDelivery<T> left, CurrentValueDelivery<T> right)

public void Changed<TDrain>(TDrain drain) where TDrain : IDrainTarget

Records a change and delivers the current value, directly when nothing else is delivering.

public void Complete<TDrain>(TDrain drain) where TDrain : IDrainTarget

Delivers completion as the terminal notification, after a pending change.

public bool DrainTo<TReader>(IObserver<T> observer, TReader reader) where TReader : ICurrentValueReader<T>

Reads and delivers a recorded change, then a recorded terminal notification.

public bool Equals(CurrentValueDelivery<T> other)

public void Fault<TDrain>(Exception error, TDrain drain) where TDrain : IDrainTarget

Delivers an error as the terminal notification, after a pending change.

public void Start<TDrain>(TDrain drain) where TDrain : IDrainTarget

Reads and delivers the initial value, then accepts changes.

public void Stop()

Stops delivery; recorded work is dropped and nothing further is delivered.