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

ReactiveUI.Primitives.Advanced.SynchronizeWitness<T>

public sealed class SynchronizeWitness<T> : IObserver<T>, IDisposable
Serializes concurrent observer notifications so values precede a single terminal notification.
public SynchronizeWitness(IObserver<T> observer)

Initializes a new instance of the SynchronizeWitness<T> class with a private gate.

public SynchronizeWitness(IObserver<T> observer, object gate)

Initializes a new instance of the SynchronizeWitness<T> class sharing the supplied gate.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)

public void SetSubscription(IDisposable subscription)

Assigns the upstream subscription, disposing the incoming one when this sink holds a subscription or has been disposed.