ReactiveUI.Primitives.Advanced.SynchronizeWitness<T>
Observer that serializes notifications behind a gate so downstream operators always observe the
single-threaded OnNext* then OnError|OnCompleted grammar they depend on, even when the
upstream source delivers concurrently. Stateful sinks (counting, distinct, buffering) rely on that
grammar; placing one of these ahead of them is the supported way to consume a non-conformant source.
Initializes a new instance of the SynchronizeWitness<T> class with a private gate.
Initializes a new instance of the SynchronizeWitness<T> class sharing the supplied gate.
Assigns the upstream subscription, disposing it if one is already held.