Table of Contents

IObservable<T>.Subscribe Method

IObservable<T>.Subscribe(IObserver<T>)

IDisposable IObservable<T>.Subscribe(IObserver<T> observer)

Notifies the provider that an observer is to receive notifications.

Parameters

observer IObserver<T>

The object that is to receive notifications.

Returns

IDisposable

A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.