| Package | Description |
|---|---|
| io.helidon.common.reactive |
Common reactive library for Helidon projects.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Flow.Processor<T,R>
A component that acts as both a Subscriber and Publisher.
|
| Modifier and Type | Method and Description |
|---|---|
Flow.Subscriber<? super T> |
SingleSubscriberHolder.get()
Get the stored subscriber.
|
static <T> Flow.Subscriber<T> |
ReactiveStreamsAdapter.subscriberToFlow(Subscriber<T> subscriber)
Return a
Flow.Subscriber from a Subscriber. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SingleSubscriberHolder.register(Flow.Subscriber<? super T> subscriber)
Register a new subscriber.
|
void |
Flow.Publisher.subscribe(Flow.Subscriber<? super T> subscriber)
Adds the given Subscriber if possible.
|
void |
OutputStreamPublisher.subscribe(Flow.Subscriber<? super ByteBuffer> subscriberParam) |
void |
SubmissionPublisher.subscribe(Flow.Subscriber<? super T> subscriber)
Adds the given Subscriber.
|
static <T> Subscriber<T> |
ReactiveStreamsAdapter.subscriberFromFlow(Flow.Subscriber<T> subscriber)
Return a
Subscriber from a Flow.Subscriber. |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleSubscriberHolder.close(Consumer<Flow.Subscriber<? super T>> completionHandler)
Mark the subscriber holder as closed.
|
void |
SubmissionPublisher.offer(T item,
BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)
Publishes the given item to each current subscriber.
|
Copyright © 2018–2019 Oracle Corporation. All rights reserved.