ReactiveUI.Primitives.Advanced.TapWitness<T> public sealed class TapWitness<T> : IObserver<T>, IDisposable Sink that runs side-effects before forwarding each notification. Documentation Code namespace ReactiveUI.Primitives.Advanced { public sealed class TapWitness<[Nullable(2)] T> : IObserver<T>, IDisposable { public TapWitness(IObserver<T> observer, Action<T> onNext, Action<Exception> onError, Action onCompleted); public void OnNext(T value); public void OnError(Exception error); public void OnCompleted(); public void SetSubscription(IDisposable subscription); public void Dispose(); } }