public class SimpleSubscription extends Object implements org.reactivestreams.Subscription
| Constructor and Description |
|---|
SimpleSubscription() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
isCancelled() |
SimpleSubscription |
onRequest(BiConsumer<SimpleSubscription,Long> onRequest) |
void |
request(long l) |
public SimpleSubscription onRequest(BiConsumer<SimpleSubscription,Long> onRequest)
public boolean isCancelled()
public void request(long l)
request in interface org.reactivestreams.Subscriptionpublic void cancel()
cancel in interface org.reactivestreams.SubscriptionCopyright © 2025. All rights reserved.