Returns a new CompletionStage that, when this stage completes
normally, is executed using the supplied Executor, with this
stage's result as the argument to the supplied action.
See the {@link CompletionStage} documentation for rules
covering exceptional completion.
@param action the action to perform before completing the
returned CompletionStage
@param executor the executor to use for asynchronous execution
@return the new CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied action.
See the {@link CompletionStage} documentation for rules covering exceptional completion.
@param action the action to perform before completing the returned CompletionStage @param executor the executor to use for asynchronous execution @return the new CompletionStage