ReactiveUI.Primitives.Advanced.Witness
Factory methods for allocation-conscious observers in the ReactiveUI.Primitives vocabulary.
Creates a witness from an onNext delegate and default terminal handlers.
Creates a witness from value and error delegates.
Creates a witness from value and completion delegates.
public static IObserver<T> Create<T>(Action<T> onNext, Action<Exception> onError, Action onCompleted)
Creates a witness from explicit value, error, and completion callbacks.
Rethrows exception with its original stack trace, doing nothing when null.
Wraps a witness so it receives at most one terminal signal and no values after termination.
Wraps a witness so it receives at most one terminal signal and no values after termination.
Subscribes to source without handlers so it runs for side effects alone.
Subscribes a value callback to source; terminal errors rethrow and completion is ignored.
public static IDisposable Subscribe<T>(IObservable<T> source, Action<T> onNext, Action<Exception> onError)
Subscribes value and error callbacks to source; completion is ignored.
Subscribes value and completion callbacks to source; terminal errors rethrow.
public static IDisposable Subscribe<T>(IObservable<T> source, Action<T> onNext, Action<Exception> onError, Action onCompleted)
Subscribes value, error, and completion callbacks to source.