public abstract class RxRatpack extends Object
| Constructor and Description |
|---|
RxRatpack() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Observable<T> |
background(Callable<T> callable)
Syntactic shorthand for calling
RxBackground.observe(Callable). |
public static <T> Observable<T> background(Callable<T> callable)
RxBackground.observe(Callable).
Usage of this method only works if there is one Ratpack application running in the JVM.
Results are undefined otherwise.
In such a case, use RxBackground instances directly.
T - The type of value the blocking operation returnscallable - A blocking operationObservable of the blocking operation