Package | Description |
---|---|
ratpack.exec |
The execution management.
|
ratpack.exec.util |
Modifier and Type | Method and Description |
---|---|
default Downstream<T> |
Downstream.onComplete(Block block)
Wrap this downstream, using the given action as the implementation of the
complete() method. |
default Downstream<T> |
Downstream.onError(Action<? super java.lang.Throwable> action)
Wrap this downstream, using the given action as the implementation of the
error(Throwable) method. |
default <O> Downstream<O> |
Downstream.onSuccess(Action<? super O> action)
Wrap this downstream, using the given action as the implementation of the
success(T) method. |
Modifier and Type | Method and Description |
---|---|
void |
Upstream.connect(Downstream<? super T> downstream)
Connect the downstream.
|
void |
Promise.connect(Downstream<? super T> downstream)
A low level hook for consuming the promised value.
|
Modifier and Type | Class and Description |
---|---|
class |
Promised<T>
A logical value that will be available later, that promises can be created for.
|