| Modifier and Type | Method and Description |
|---|---|
protected void |
Promise.handleDone(PromiseHandler<? super T> handler)
Invoked when promise is done.
|
void |
Promise.whenDone(PromiseHandler<? super T> handler)
Registers a handler to be invoked exactly once when computation
completes. |
void |
Promise.whenDoneAsync(PromiseHandler<? super T> handler,
Executor executor)
Registers a handler to be invoked asynchronously exactly once when computation
completes. |
Copyright © 2002–2025 Devexperts LLC. All rights reserved.