ReactiveUI.Primitives.Advanced.DistinctByWitness<T, TKey>
Sink that forwards the first value seen for each key the selector produces.
public DistinctByWitness(IObserver<T> observer, Func<T, TKey> keySelector, IEqualityComparer<TKey> comparer)
Initializes a new instance of the DistinctByWitness<T, U> class.
Assigns the upstream subscription, disposing the incoming one when this sink holds a subscription or has been disposed.