public interface Background
| Modifier and Type | Method and Description |
|---|---|
<T> SuccessOrErrorPromise<T> |
exec(Callable<T> operation)
Execute the given operation in a background thread pool, avoiding blocking on a request handling thread.
|
<T> SuccessOrErrorPromise<T> exec(Callable<T> operation)
T - The type of result object that the operation producesoperation - The operation to perform