refCount method

Observable<T> refCount ()

Returns an Observable that stays connected to this ConnectableObservable as long as there is at least one subscription to this ConnectableObservable.

Implementation

Observable<T> refCount();