ReactiveUI.Primitives.Advanced.GroupByWitness<TSource, TKey, TElement>
Sink that routes each source value to the group of its key, opening a group the first time a key appears.
Gets the subscription handed to the outer subscriber; the source stays subscribed while any group is.
public GroupByWitness(IObserver<GroupedSignal<TKey, TElement>> observer, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer, int capacity)
Initializes a new instance of the GroupByWitness<T, U, V> class.
Assigns the upstream subscription, disposing the incoming one when this sink holds a subscription or has been disposed.