public interface FutureFactory
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
failedFuture(Throwable t) |
<T> Future<T> |
failureFuture(String failureMessage) |
<T> Future<T> |
future() |
<T> Promise<T> |
promise() |
<T> Future<T> |
succeededFuture() |
<T> Future<T> |
succeededFuture(T result) |
Copyright © 2023 Eclipse. All rights reserved.