ReactiveUI.Primitives.Core.Spark<T>
Represents a value, error, or completion notification.
Gets the exception carried by an OnError spark, or null for any other kind.
Gets a value indicating whether the spark carries a value.
Gets the kind of Spark that is represented.
Gets the value for an OnNext notification, or the default value for an error or completion notification.
Invokes the observer's method corresponding to the Spark.
Invokes the observer's method corresponding to the Spark and returns the produced result.
Invokes the delegate corresponding to the Spark.
public TResult Accept<TResult>(Func<T, TResult> onNext, Func<Exception, TResult> onError, Func<TResult> onCompleted)
Invokes the delegate corresponding to the Spark and returns the produced result.
Determines whether both sparks carry the same observer message payload: the same Kind and, for OnNext and OnError, the same value or exception.
Returns an observable sequence with a single Spark, using the immediate scheduler.
Returns an observable sequence with a single Spark.