Package | Description |
---|---|
ratpack.exec |
The execution management.
|
Modifier and Type | Method and Description |
---|---|
static <T> Promise<T> |
Promise.async(Upstream<T> upstream)
Creates a promise for value that will be produced asynchronously.
|
static <T> Promise<T> |
Promise.of(Upstream<T> upstream)
Deprecated.
replaced by
Promise.async(Upstream) |
Modifier and Type | Method and Description |
---|---|
<O> Promise<O> |
Promise.transform(Function<? super Upstream<? extends T>,? extends Upstream<O>> upstreamTransformer)
Apply a custom transform to this promise.
|
<O> Promise<O> |
Promise.transform(Function<? super Upstream<? extends T>,? extends Upstream<O>> upstreamTransformer)
Apply a custom transform to this promise.
|