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

ReactiveUI.Primitives.Advanced.EmptyWitness<T>

public sealed class EmptyWitness<T> : IObserver<T>
Delegate-backed observer that defaults missing handlers to no-op behavior.
namespace ReactiveUI.Primitives.Advanced { public sealed class EmptyWitness<[Nullable(2)] T> : IObserver<T> { public static readonly EmptyWitness<T> Instance; public EmptyWitness(Action<T> onNext); public EmptyWitness(Action<T> onNext, Action<Exception> onError); public EmptyWitness(Action<T> onNext, Action onCompleted); public EmptyWitness(Action<T> onNext, Action<Exception> onError, Action onCompleted); public void OnCompleted(); public void OnError(Exception error); public void OnNext(T value); } }