public final class DelayedSubscription extends java.lang.Object implements PublisherSource.Subscription
PublisherSource.Subscriptionwhich serves as a placeholder until the "real"
|Constructor and Description|
|Modifier and Type||Method and Description|
Sends a hint to the producer of the associated asynchronous execution that the consumer related to this
Set the delayed
public void delayedSubscription(PublisherSource.Subscription delayedSubscription)
PublisherSource.Subscription. This method can only be called a single time and subsequent calls will result in
cancel()being called on
delayedSubscription- The delayed
public void request(long n)
nmore items from the associated
PublisherSourcefor the associated
See Reactive Streams specifications for the rules about how and when this method will be invoked.
n- Number of items to request.
public void cancel()
Cancellableis not interested in the outcome of the execution.