<PackageReference Include="ReactiveUI.Primitives.Core" Version="7.3.0" />
ReactiveUI.Primitives.Advanced.TapWitness<T>
Sink that runs side-effects before forwarding each notification.
namespace ReactiveUI.
Primitives.
Advanced
{
public sealed class TapWitness<[
System.
Runtime.
CompilerServices.
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();
}
}