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

ReactiveUI.Primitives.Advanced.SparkWitness<T>

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

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

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 the slot is occupied.