CompletionStage.runAfterBothAsync

Returns a new CompletionStage that, when this and the other given stage both complete normally, executes the given action using this stage's default asynchronous execution facility.

See the {@link CompletionStage} documentation for rules covering exceptional completion.

@param other the other CompletionStage @param action the action to perform before completing the returned CompletionStage @return the new CompletionStage

  1. CompletionStage!(void) runAfterBothAsync(CompletionStage!(U) other, Runnable action)
    interface CompletionStage(T)
    runAfterBothAsync
    (
    U
    )
  2. CompletionStage!(void) runAfterBothAsync(CompletionStage!(U) other, Runnable action, Executor executor)

Meta