Module io.helidon.common.reactive
Package io.helidon.common.reactive
package io.helidon.common.reactive
Common reactive library for Helidon projects.
-
ClassDescriptionAwaitable<T>Makes intentional blocking when waiting for
CompletableFuture
more convenient withAwaitable.await()
andAwaitable.await(long, java.util.concurrent.TimeUnit)
methods.Emitting publisher for manual publishing with built-in buffer for handling backpressure.Fluent API builder to createBufferedEmittingPublisher
.Collector<T,U> A collector accumulates the items provided whenCollector.collect(java.lang.Object)
is invoked and makes them available in a single container object withCollector.value()
.CompletionStage
wrapper enriched withAwaitable
.Single as CompletionStage.Concat streams to one.Emitting publisher for manual publishing on the same thread.Create reactive stream from standard IO resources.Fluent API builder for creating aMulti
from aReadableByteChannel
.Fluent API builder for creating aMulti
from anInputStream
.Fluent API builder for creating a subscriber consumingMulti<ByteBuffer>
toWritableByteChannel
.Fluent API builder forOutputStreamMulti
.Multi<T>Represents aFlow.Publisher
emitting zero or more items, optionally followed by an error or completion.Deprecated, for removal: This API element is subject to removal in a future version.Intercept the calls to the various Flow interface methods and calls the appropriate user callbacks.Multi tapped publisher builder to register custom callbacks.A completion stage that allows processing of cases when the element is present and when not.Output stream thatFlow.Publisher
publishes any data written to it asByteBuffer
events.Requested event counter.Defines delay for next read/poll operation in a pollingpublisher
.WrapperFlow.Subscriber
ensuringOnSubscribe
,onNext
,onError
andonComplete
to be signaled serially.Single<T>Represents aFlow.Publisher
that may: signal one item then completes, complete without an item or signal an error.A subscriber container that accepts only a single, one-time subscriber registration.Helper methods for stream validation.Subscribable<T>Decorated publisher that allows subscribing to individual events with java functions.Helper enum with a singleton cancellation indicator and utility methods to perform atomic actions onFlow.Subscription
s.
OutputStreamMulti
instead