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

ReactiveUI.Primitives.Advanced.Witness

public static class Witness
Factory methods for allocation-conscious observers in the ReactiveUI.Primitives vocabulary.
namespace ReactiveUI.Primitives.Advanced { public static class Witness { public static IObserver<T> Create<[System.Runtime.CompilerServices.Nullable(2)] T>(Action<T> onNext); public static IObserver<T> Create<[System.Runtime.CompilerServices.Nullable(2)] T>(Action<T> onNext, Action<Exception> onError); public static IObserver<T> Create<[System.Runtime.CompilerServices.Nullable(2)] T>(Action<T> onNext, Action onCompleted); public static IObserver<T> Create<[System.Runtime.CompilerServices.Nullable(2)] T>(Action<T> onNext, Action<Exception> onError, Action onCompleted); public static IObserver<T> Safe<[System.Runtime.CompilerServices.Nullable(2)] T>(IObserver<T> observer); public static IObserver<T> Safe<[System.Runtime.CompilerServices.Nullable(2)] T>(IObserver<T> observer, IDisposable cancel); } }