Class CancelImmediatelySubscriber
java.lang.Object
io.servicetalk.concurrent.internal.CancelImmediatelySubscriber
- All Implemented Interfaces:
PublisherSource.Subscriber<Object>
public final class CancelImmediatelySubscriber
extends Object
implements PublisherSource.Subscriber<Object>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidCallback to signal completion of thePublisherSourcefor thisSubscriber.voidCallback to receive anerrorfor thisSubscriber.voidCallback to receive adataelement for thisSubscriber.voidCallback to receive aPublisherSource.Subscriptionfor thisSubscriber.
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Method Details
-
onSubscribe
Description copied from interface:PublisherSource.SubscriberCallback to receive aPublisherSource.Subscriptionfor thisSubscriber.See Reactive Streams specifications for the rules about how and when this method will be invoked.
- Specified by:
onSubscribein interfacePublisherSource.Subscriber<Object>- Parameters:
s-PublisherSource.Subscriptionfor thisSubscriber.
-
onNext
Description copied from interface:PublisherSource.SubscriberCallback to receive adataelement for thisSubscriber.See Reactive Streams specifications for the rules about how and when this method will be invoked.
- Specified by:
onNextin interfacePublisherSource.Subscriber<Object>- Parameters:
obj- Adataelement.
-
onError
Description copied from interface:PublisherSource.SubscriberCallback to receive anerrorfor thisSubscriber.See Reactive Streams specifications for the rules about how and when this method will be invoked.
- Specified by:
onErrorin interfacePublisherSource.Subscriber<Object>- Parameters:
t-errorfor thisSubscriber.
-
onComplete
public void onComplete()Description copied from interface:PublisherSource.SubscriberCallback to signal completion of thePublisherSourcefor thisSubscriber.See Reactive Streams specifications for the rules about how and when this method will be invoked.
- Specified by:
onCompletein interfacePublisherSource.Subscriber<Object>
-