RxJava
rx.operators
Class OperatorTimeoutWithSelector<T,U,V>
java.lang.Object
rx.operators.OperatorTimeoutWithSelector<T,U,V>
- All Implemented Interfaces:
- Func1<Subscriber<? super T>,Subscriber<? super T>>, Function, Observable.Operator<T,T>
public class OperatorTimeoutWithSelector<T,U,V>
- extends java.lang.Object
Returns an Observable that mirrors the source Observable. If either the first
item emitted by the source Observable or any subsequent item don't arrive
within time windows defined by provided Observables, switch to the
other Observable if provided, or emit a TimeoutException .
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatorTimeoutWithSelector
public OperatorTimeoutWithSelector(Func0<? extends Observable<U>> firstTimeoutSelector,
Func1<? super T,? extends Observable<V>> timeoutSelector,
Observable<? extends T> other)
call
public Subscriber<? super T> call(Subscriber<? super T> subscriber)
- Specified by:
call in interface Func1<Subscriber<? super T>,Subscriber<? super T>>