Interface MultiSubscriber<T>

Type Parameters:
T - the type of item.
All Superinterfaces:
Flow.Subscriber<T>
All Known Subinterfaces:
CancellableSubscriber<T>
All Known Implementing Classes:
AssertSubscriber, MultiSubscriberAdapter, SerializedSubscriber, Subscribers.CallbackBasedSubscriber, SwitchableSubscriptionSubscriber

public interface MultiSubscriber<T> extends Flow.Subscriber<T>
A Flow.Subscriber receiving calls to Flow.Subscriber.onSubscribe(Subscription) once after passing an instance of Flow.Subscriber to Flow.Publisher.subscribe(Subscriber).

No further events will be received until Flow.Subscription.request(long) is called.

After signaling demand:

Demand can be signaled via Flow.Subscription.request(long) whenever the Flow.Subscriber instance is capable of handling more.

This interface bridges the Mutiny model and the Reactive Streams model.