Package | Description |
---|---|
ratpack.exec |
The execution management.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExecResult<T>
The result of an execution.
|
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.result(Action<? super Result<T>> resultHandler)
Consume the promised value as a
Result . |
Promise<T> |
Promise.wiretap(Action<? super Result<T>> listener)
Registers a listener for the promise outcome.
|