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

ReactiveUI.Primitives.Advanced.DistinctWitness<T>

public sealed class DistinctWitness<T> : IObserver<T>, IDisposable
Sink that forwards the first occurrence of each value.
namespace ReactiveUI.Primitives.Advanced { public sealed class DistinctWitness<[System.Runtime.CompilerServices.Nullable(2)] T> : IObserver<T>, IDisposable { public DistinctWitness(IObserver<T> observer, HashSet<T> seen); public void OnNext(T value); public void OnError(Exception error); public void OnCompleted(); public void SetSubscription(IDisposable subscription); public void Dispose(); } }