final class DeferredPromiseImpl.FlatMap<P>
extends java.lang.Object
implements java.lang.Runnable
PromiseImpl.flatMap(Function)
method.Modifier and Type | Field and Description |
---|---|
private Function<? super P,Promise<? extends T>> |
mapper |
private PromiseImpl<P> |
promise |
Constructor and Description |
---|
FlatMap(PromiseImpl<P> promise,
Function<? super P,Promise<? extends T>> mapper) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
private final PromiseImpl<P> promise