Uses of Interface
io.helidon.common.reactive.OptionalCompletionStage
-
Uses of OptionalCompletionStage in io.helidon.common.reactive
Methods in io.helidon.common.reactive that return OptionalCompletionStageModifier and TypeMethodDescriptionstatic <T> OptionalCompletionStage<T>OptionalCompletionStage.create(CompletionStage<Optional<T>> originalStage) Creates a new instance of the completion stage that allows processing of cases when the element is present and when not.Returns a newOptionalCompletionStagethat, when this stage completes normally and returnsnull, executes the given action.Returns a newOptionalCompletionStagethat, when this stage completes normally and returns non-null, is executed with this stage's result as the argument to the supplied action.