acceptEitherSuccess

Returns a new CompletableFuture that, when either given stage success, is executed with the corresponding result as argument to the supplied action.

This method is the same as CompletableFuture.acceptEither except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also