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

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.
public virtual bool HasObservers { get; }

Gets a value indicating whether indicates whether the subject has observers subscribed to it.

public virtual bool IsDisposed { get; }

Gets a value indicating whether indicates whether the subject has been disposed.

public Signal()

public void Dispose()

Releases unmanaged and - optionally - managed resources.

protected virtual void Dispose(bool disposing)

Releases unmanaged and - optionally - managed resources.

public void OnCompleted()

Called when [completed].

public void OnError(Exception error)

Called when [error].

public void OnNext(T value)

Called when [next].

public IDisposable Subscribe(IObserver<T> observer)

Subscribes the specified observer.

Executes the SubscribeAction operation.