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

ReactiveUI.Primitives.Advanced.AppendWitness<T>

public sealed class AppendWitness<T> : IObserver<T>, IDisposable
Sink that forwards source values and emits one trailing value before completing.
public AppendWitness(IObserver<T> observer, T value)

Sink that forwards source values and emits one trailing value before completing.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)

public void SetSubscription(IDisposable subscription)

Assigns the upstream subscription, disposing the incoming one when this sink holds a subscription or has been disposed.