Uses of Interface
io.helidon.common.reactive.OptionalCompletionStage
-
Uses of OptionalCompletionStage in io.helidon.common.reactive
Modifier 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 newOptionalCompletionStage
that, when this stage completes normally and returnsnull
, executes the given action.Returns a newOptionalCompletionStage
that, when this stage completes normally and returns non-null
, is executed with this stage's result as the argument to the supplied action.