@CompileStatic class RxServiceSupport extends java.lang.Object
Helper class for creating observables that run of the IO scheduler for blocking GORM operations
| Constructor and description |
|---|
RxServiceSupport() |
| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
static rx.Observable<T> |
create(java.util.concurrent.Callable<T> callable)Create an observable from the given callable |
<T> |
static rx.Observable<T> |
create(rx.Scheduler scheduler, java.util.concurrent.Callable<T> callable)Create an observable from the given callable on the given Scheduler |
<T> |
static rx.Single<T> |
createSingle(java.util.concurrent.Callable<T> callable)Create an observable from the given callable |
<T> |
static rx.Single<T> |
createSingle(rx.Scheduler scheduler, java.util.concurrent.Callable<T> callable)Create an observable from the given callable on the given scheduler |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Create an observable from the given callable
callable - The callableCreate an observable from the given callable on the given Scheduler
callable - The callableCreate an observable from the given callable
callable - The callableCreate an observable from the given callable on the given scheduler
callable - The callable