| Package | Description |
|---|---|
| ratpack.exec |
The execution management.
|
| ratpack.rx |
Provides integration with the RxJava library.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecControl |
ExecControl.current()
Provides the execution control bound to the current thread.
|
static Execution |
Execution.execution()
Provides the currently execution execution.
|
Execution |
ExecControl.getExecution() |
static ExecController |
ExecController.require()
Returns the execution controller bound to the current thread, or throws an exception if called on a non Ratpack managed compute thread.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Promise<List<T>> |
RxRatpack.promise(Observable<T> observable)
Converts an
Observable into a Promise, for all of the observable's items. |
static <T> Promise<T> |
RxRatpack.promiseSingle(Observable<T> observable)
Converts an
Observable into a Promise, for the observable's single item. |