T
- the value typepublic final class OperatorSwitch<T> extends Object implements Observable.Operator<T,Observable<? extends T>>
Modifier and Type | Method and Description |
---|---|
Subscriber<? super Observable<? extends T>> |
call(Subscriber<? super T> child) |
static <T> OperatorSwitch<T> |
instance(boolean delayError)
Returns a singleton instance of the operator based on the delayError parameter.
|
public static <T> OperatorSwitch<T> instance(boolean delayError)
T
- the value typedelayError
- should the errors of the inner sources delayed until the main sequence completes?public Subscriber<? super Observable<? extends T>> call(Subscriber<? super T> child)
call
in interface Func1<Subscriber<? super T>,Subscriber<? super Observable<? extends T>>>
Copyright © 2018. All rights reserved.