Package | Description |
---|---|
rx |
Base reactive classes: Observable, Single and Completable; base reactive consumers;
other common base interfaces.
|
Modifier and Type | Method and Description |
---|---|
<R> Single<R> |
Single.cast(Class<R> klass)
Casts the success value of the current Single into the target type or signals a
ClassCastException if not compatible.
|
Single<T> |
Single.unsubscribeOn(Scheduler scheduler)
Returns a Single which makes sure when a subscriber cancels the subscription,
the dispose is called on the specified scheduler
|
Copyright © 2018. All rights reserved.