RxJava



rx.operators
Class OperationRefCount<T>

java.lang.Object
  extended by rx.operators.OperationRefCount<T>

public final class OperationRefCount<T>
extends java.lang.Object

Returns an observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence.


Constructor Summary
OperationRefCount()
           
 
Method Summary
static
<T> Observable.OnSubscribeFunc<T>
refCount(ConnectableObservable<T> connectableObservable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationRefCount

public OperationRefCount()
Method Detail

refCount

public static <T> Observable.OnSubscribeFunc<T> refCount(ConnectableObservable<T> connectableObservable)