<PackageReference Include="System.Reactive" Version="6.0.0-preview.9" />

Notification

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

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

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

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

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

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