public final class ScalarSynchronousSingle<T> extends Single<T>
Single.OnSubscribe<T>, Single.Transformer<T,R>
Modifier | Constructor and Description |
---|---|
protected |
ScalarSynchronousSingle(T t) |
Modifier and Type | Method and Description |
---|---|
static <T> ScalarSynchronousSingle<T> |
create(T t) |
T |
get() |
<R> Single<R> |
scalarFlatMap(Func1<? super T,? extends Single<? extends R>> func) |
Single<T> |
scalarScheduleOn(Scheduler scheduler)
Customized observeOn/subscribeOn implementation which emits the scalar
value directly or with less overhead on the specified scheduler.
|
cache, cast, compose, concat, concat, concat, concat, concat, concat, concat, concat, concatWith, defer, delay, delay, delaySubscription, doAfterTerminate, doOnEach, doOnError, doOnSubscribe, doOnSuccess, doOnUnsubscribe, error, flatMap, flatMapCompletable, flatMapObservable, from, from, from, fromCallable, fromEmitter, just, lift, map, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, mergeDelayError, mergeDelayError, mergeWith, observeOn, onErrorResumeNext, onErrorResumeNext, onErrorReturn, retry, retry, retry, retryWhen, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, takeUntil, takeUntil, takeUntil, test, timeout, timeout, timeout, timeout, to, toBlocking, toCompletable, toObservable, unsafeSubscribe, unsubscribeOn, using, using, zip, zip, zip, zip, zip, zip, zip, zip, zip, zipWith
protected ScalarSynchronousSingle(T t)
public static <T> ScalarSynchronousSingle<T> create(T t)
public T get()
public Single<T> scalarScheduleOn(Scheduler scheduler)
scheduler
- the target schedulerCopyright © 2018. All rights reserved.