If this future completes with an exception, applies the provided rescue function and flattens the result. Note that it's possible to return a Future.exception from f if the exception can't be recovered. @param f the function to be executed. @return a future with the result of f.
(Function<Throwable, ? extends Future<T>> f)
| 494 | * @return a future with the result of f. |
| 495 | */ |
| 496 | Future<T> rescue(Function<Throwable, ? extends Future<T>> f); |
| 497 | |
| 498 | /** |
| 499 | * Creates a future that will be completed with the interrupt exception if an |
no outgoing calls