<PackageReference Include="ReactiveUI.Primitives" Version="7.3.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 it if one is already held.