Common reactive library for Helidon projects.
-
interface
Represents a
Flow.Publisher
emitting zero or more items, optionally followed by
an error or completion.
interface
Represents a
Flow.Publisher
that may: signal one item then completes, complete without
an item or signal an error.
class
Single as CompletionStage.
final class
class
Deprecated, for removal: This API element is subject to removal in a future version.
final class
Intercept the calls to the various Flow interface methods and calls the appropriate
user callbacks.
class
Signals the default item supplied by specified supplier if the upstream is empty.
Signals the default item if the upstream is empty.
Transform item with supplied function and flatten resulting
Flow.Publisher
to downstream.
Transform item with supplied function and flatten resulting
Iterable
to downstream.
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 from single item if onComplete signal is
intercepted.
Resume stream from supplied publisher if onComplete signal is intercepted.
Executes given
Runnable
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 every item in stream.
Subscribable.retry(long count)
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.
Relay upstream items until the other source signals an item or completes.
Signals a
TimeoutException
if the upstream doesn't
signal the next item, error or completion within the specified time.
OutputStreamMulti
instead