Package | Description |
---|---|
ratpack.handling |
The handling of application requests.
|
Modifier and Type | Method and Description |
---|---|
<T> SuccessOrErrorPromise<T> |
MinimalContext.background(Callable<T> backgroundOperation)
Perform a blocking operation, off the request thread.
|
<T> SuccessOrErrorPromise<T> |
Background.exec(Callable<T> operation)
Execute the given operation in a background thread pool, avoiding blocking on a request handling thread.
|