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

ReactiveUI.Primitives.Advanced.SerializeWitness<T>

public sealed class SerializeWitness<T> : IObserver<T>, IDisposable
Forwards source notifications to one observer one at a time without holding a lock while it runs, and owns the upstream subscription.
namespace ReactiveUI.Primitives.Advanced { public sealed class SerializeWitness<[Nullable(2)] T> : IObserver<T>, IDisposable { public SerializeWitness(IObserver<T> observer); public void OnNext(T value); public void OnError(Exception error); public void OnCompleted(); public void SetSubscription(IDisposable subscription); public void Dispose(); } }