<PackageReference Include="ReactiveUI.Primitives" Version="8.3.0" />

ReactiveUI.Primitives.Advanced.IsEmptyWitness<T>

public sealed class IsEmptyWitness<T> : IObserver<T>, IDisposable
Observer wrapper for detecting whether a source completes without values.
public IsEmptyWitness(IObserver<bool> observer)

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

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.