public interface PublisherListener<T> extends SubscriberListener<T>
Publisher
and any resulting Subscriber
.Modifier and Type | Interface and Description |
---|---|
static class |
PublisherListener.NotifyingPublisher<T> |
SubscriberListener.NotifyingSubscriber<T>
Modifier and Type | Method and Description |
---|---|
default void |
publisherSubscribe(org.reactivestreams.Subscriber<? super T> subscriber)
Invoked before
Publisher.subscribe(Subscriber) |
static <T> SdkPublisher<T> |
wrap(SdkPublisher<T> delegate,
PublisherListener<T> listener)
Wrap a
SdkPublisher with a new one that will notify a PublisherListener of important events occurring. |
subscriberOnComplete, subscriberOnError, subscriberOnNext, subscriptionCancel, wrap
default void publisherSubscribe(org.reactivestreams.Subscriber<? super T> subscriber)
Publisher.subscribe(Subscriber)
static <T> SdkPublisher<T> wrap(SdkPublisher<T> delegate, PublisherListener<T> listener)
SdkPublisher
with a new one that will notify a PublisherListener
of important events occurring.Copyright © 2022. All rights reserved.