Returns a new CompletionStage that, when this and the other
given stage both complete normally, is executed using this
stage's default asynchronous execution facility, with the two
results as arguments to the supplied function.
See the CompletionStage documentation for rules
covering exceptional completion.
other | the other CompletionStage | |
fn | the function to use to compute the value of the returned CompletionStage | |
<U> | the type of the other CompletionStage's result | |
<V> | the function's return type |
Diagram: Future