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

ReactiveUI.Primitives.Core.Spark

public static class Spark
Provides a set of static methods for constructing spark.
public static Spark<T> CreateOnCompleted<T>()

Creates an object that represents an OnCompleted spark to an observer.

public static Spark<T> CreateOnError<T>(Exception error)

Creates an object that represents an OnError spark to an observer.

public static Spark<T> CreateOnNext<T>(T value)

Creates an object that represents an OnNext spark to an observer.