public static interface PublisherSource.Subscription extends Cancellable
PublisherSource to a PublisherSource.Subscriber.
This is a replica of the APIs provided by
Reactive Streams and follows the
Reactive Streams specifications.
All implementations of this Subscription adhere to the rules as specified for a Reactive Streams
Subscription in
Section 3 of the specifications.
IGNORE_CANCEL| Modifier and Type | Method and Description |
|---|---|
void |
request(long n)
Requests
n more items from the associated PublisherSource for the associated
PublisherSource.Subscriber. |
cancelvoid request(long n)
n more items from the associated PublisherSource for the associated
PublisherSource.Subscriber.
See Reactive Streams specifications for the rules about how and when this method will be invoked.
n - Number of items to request.