subscribe

abstract fun subscribe(observer: Observer<T>): Disposable

Subscribes the given observer to receive updates

Return

A Disposable implementation for cancelling the subscription

Parameters

observer

The object to receive the updated values