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

ReactiveUI.Primitives.Signals.AwaitWitness<T>

public sealed class AwaitWitness<T> : IObserver<T>
Observer that discards values and runs a continuation on the first terminal notification.
public AwaitWitness(Action callback, bool originalContext)

Initializes a new instance of the AwaitWitness<T> class.

public void OnCompleted()

Resumes the awaiting continuation on completion.

public void OnError(Exception error)

Resumes the awaiting continuation when the source fails.

public void OnNext(T value)

Ignores values; only terminal notifications resume the continuation.