IObserver<TValue, TResult>
Provides a mechanism for receiving push-based notifications and returning a response.
TResult OnCompleted()
Notifies the observer of the end of the sequence.
Notifies the observer that an exception has occurred.
Notifies the observer of a new element in the sequence.