java.util.concurrent.Flow
Examples
| Publisher One Subscriber A producer of items (and related control messages) received by Subscribers. Each current Flow.Subscriber receives the same items (via method onNext) in the same order, unless drops or errors are encountered. | Publisher Multi Subscriber A producer of items (and related control messages) received by Subscribers. Each current Flow.Subscriber receives the same items (via method onNext) in the same order, unless drops or errors are encountered. |
| Subscriber A receiver of messages. The methods in this interface are invoked in strict sequential order for each Flow.Subscription. | Subscription Message control linking a Flow.Publisher and Flow.Subscriber. Subscribers receive items only when requested, and may cancel at any time. The methods in this interface are intended to be invoked only by their Subscribers; usages in other contexts have undefined effects. |
| Subscription Cancel Causes the Subscriber to (eventually) stop receiving messages. | Subscription Request Adds the given number n of items to the current unfulfilled demand for this subscription. |
| SubmissionPublisher A Flow.Publisher that asynchronously issues submitted (non-null) items to current subscribers until it is closed. Each current subscriber receives newly submitted items in the same order unless drops or exceptions are encountered. |
