Package | Description |
---|---|
ratpack.exec |
The execution management.
|
ratpack.test.exec |
Modifier and Type | Method and Description |
---|---|
static <T> Result<T> |
Result.failure(Throwable failure)
Creates a new failure result.
|
static <T> Result<T> |
Result.success(T value)
Creates a new successful result.
|
Modifier and Type | Method and Description |
---|---|
default void |
Fulfiller.accept(Result<? extends T> result)
Fulfills via the given result.
|
Modifier and Type | Method and Description |
---|---|
default void |
Promise.asResult(Action<? super Result<T>> resultHandler) |
Promise<T> |
PromiseOperations.wiretap(Action<? super Result<T>> listener)
Registers a listener for the promise outcome.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExecResult<T>
The result of an
ExecHarness.yield(ratpack.func.Function) operation. |