ReactiveUI.Primitives.Advanced.UniqueByWitness<T, TKey>
Sink that suppresses adjacent values whose projected key matches the previous one.
public UniqueByWitness(IObserver<T> observer, Func<T, TKey> keySelector, IEqualityComparer<TKey> comparer)
Sink that suppresses adjacent values whose projected key matches the previous one.
Assigns the upstream subscription, disposing the incoming one when this sink holds a subscription or has been disposed.