METHOD
IObservable<T>.Subscribe
Registers an observer and returns a subscription token.
Formal Syntax & Structure
csharp syntaxcsharp
IDisposable Subscribe(IObserver<T> observer)Working Example
Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.using var subscription = source.Subscribe(observer); // illustrative: existing source and observer