TYPE

IObserver<T>

Receives values and terminal outcomes from a provider.

Formal Syntax & Structure

csharp syntaxcsharp
void OnNext(T value); void OnError(Exception error); void OnCompleted();

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.// Implement all three methods on an observer class.
C# & .NET Reference