Completes this promise with value. @param value the result.
(final T value)
| 343 | * @param value the result. |
| 344 | */ |
| 345 | public final void setValue(final T value) { |
| 346 | become(new ValueFuture<>(value)); |
| 347 | } |
| 348 | |
| 349 | /** |
| 350 | * Completes this promise with a failure ex. |