Waits for this and other (running in parallel), maps the result with f, and flattens the result. @param other The other future that becomes the second parameter of f. @param f the mapping function. The first parameter is the result of this and the second the result of other. @r
(Future<U> other, BiFunction<? super T, ? super U, ? extends Future<R>> f)
| 444 | * @return the mapped and flattened future. |
| 445 | */ |
| 446 | <U, R> Future<R> biFlatMap(Future<U> other, BiFunction<? super T, ? super U, ? extends Future<R>> f); |
| 447 | |
| 448 | /** |
| 449 | * Runs r when this future completes. |
no outgoing calls