Collect the items of this
Multi instance into a
Single.
Collect the items of this
Multi into a collection provided via a
Supplier
and mutated by a
BiConsumer callback.
Collects up upstream items with the help of a the callbacks of
a
Collector.
Apply the given composer function to the current Single instance and
return the Single returned by this function.
Create a
Single instance that publishes the first and only item received from the given
Single.
Wrap a CompletionStage into a Multi and signal its outcome non-blockingly.
Wrap a CompletionStage into a Multi and signal its outcome non-blockingly.
Create a
Single instance that publishes the first and only item received from the given publisher.
Create a
Single instance that publishes result of the given supplier to its subscriber(s).
Signals the default item supplied by specified supplier if the upstream is empty.
Signals the default item if the upstream is empty.
Call the given supplier function for each individual downstream Subscriber
to return a Flow.Publisher to subscribe to.
Get a
Single instance that completes immediately.
Create a
Single instance that reports the given given exception to its subscriber(s).
Transforms item with supplied function and flatten resulting
CompletionStage result
to downstream.
Transform item with supplied function and flatten resulting
Optional to downstream
as Single with its value as item if present or empty Single.
Transforms item with supplied function and flatten resulting
Single
to downstream.
Terminal stage, invokes provided consumer for every item in the stream with no backpressure.
Terminal stage, invokes provided consumer for every item in the stream with strict backpressure.
Executes given
Runnable when stream is finished without value(empty stream).
Terminal stage, ignore all items and complete returned Single<Void> successfully or exceptionally.
Create a
Single instance that publishes the given item to its subscriber(s).
Log all signals onSubscribe, onNext,
onError, onComplete, cancel and request
coming to and from preceding operator.
Log all signals onSubscribe, onNext,
onError, onComplete, cancel and request
coming to and from preceding operator.
Log all signals onSubscribe, onNext,
onError, onComplete, cancel and request
coming to and from preceding operator.
Log all signals onSubscribe, onNext,
onError, onComplete, cancel and request
coming to and from preceding operator.
Get a
Single instance that never completes.
Re-emit the upstream's signals to the downstream on the given executor's thread.
Executes given
Runnable when a cancel signal is received.
Executes given
Runnable when onComplete signal is received.
Resume stream with supplied single if onComplete signal is intercepted.
Executes given
Consumer when onError signal is received.
Function providing one item to be submitted as onNext in case of onError signal is received.
Resume stream from supplied publisher if onError signal is intercepted.
Executes given
Runnable when any of signals onComplete, onCancel or onError is received.
Invoke provided consumer for the item in stream.
Combine subsequent items via a callback function and emit
the final value result as a Single.
Combine every upstream item with an accumulator value to produce a new accumulator
value and emit the final accumulator value as a Single.
Retry a failing upstream at most the given number of times before giving up.
Retry a failing upstream if the predicate returns true.
Retry a failing upstream when the given function returns a publisher that
signals an item.
Switch to the other Single if the upstream is empty.
Relay upstream items until the other source signals an item or completes.
Signals a
TimeoutException if the upstream doesn't signal an item, error
or completion within the specified time.
Switches to a fallback single if the upstream doesn't signal an item, error
or completion within the specified time.
Signal 0L and complete the sequence after the given time elapsed.
Exposes this
Single instance as a
Single with
Optional<T> return type
of the asynchronous operation.
Apply the given composer function to the current Single instance and
return the Single returned by this function.
Apply the given composer function to the current Single instance and
return the Single returned by this function.
Call the given supplier function for each individual downstream Subscriber
to return a Flow.Publisher to subscribe to.
Transforms item with supplied function and flatten resulting
Single
to downstream.
Resume stream with supplied single if onComplete signal is intercepted.
Resume stream from supplied publisher if onError signal is intercepted.
default <U> U
Apply the given converter function to the current Single instance
and return the value returned by this function.
create(io.helidon.common.reactive.Single)instead