Interface Promise.Invocable<R>

Type Parameters:
R - The result type
All Superinterfaces:
BiConsumer<R,Throwable>, Invocable, Promise<R>
Enclosing interface:
Promise<C>

public static interface Promise.Invocable<R> extends Invocable, Promise<R>, BiConsumer<R,Throwable>
An Invocable Promise that provides the Invocable.InvocationType of calls to Promise.succeeded(Object). Also provides the BiConsumer interface as a convenient for working with CompletableFuture.