<PackageReference Include="ReactiveUI.Primitives" Version="8.3.0" />

ReactiveUI.Primitives.Advanced.UnsparkWitness<T>

public sealed class UnsparkWitness<T> : IObserver<Spark<T>>, IDisposable
Sink that dematerializes Spark<T> values into notifications.
public UnsparkWitness(IObserver<T> observer)

Initializes a new instance of the UnsparkWitness<T> class.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(Spark<T> value)

public void SetSubscription(IDisposable subscription)

Assigns the upstream subscription, disposing the incoming one when the slot is occupied.