ReactiveUI.Primitives.Signals.Signal<T>
public class Signal<T> : ISignal<T>, ISignal<T, T>, IObserver<T>, IObservable<T>, IsDisposed, IDisposable
A signal that is both an observer and observable of values.
Gets a value indicating whether any observer is subscribed to the signal.
Gets a value indicating whether the signal has been disposed.
public Signal()
Detaches every subscription and makes later notifications throw.
Publishes the disposed marker and detaches the subscriptions it replaced.
Completes the current observers and stops the signal, so later notifications are ignored.
Faults the current observers and stops the signal, rethrowing to the caller when a value-only callback is subscribed.
Emits a value to the current observers; a stopped signal drops it and a disposed signal throws ObjectDisposedException.
Subscribes an observer, delivering the stored terminal notification immediately when the signal has stopped.
Registers a value-only callback, rethrowing the stored error when the signal has faulted.