Module java.base

Interface Flow.Subscriber<T>

Type Parameters:
T - the subscribed item type
All Known Subinterfaces:
Flow.Processor<T,R>, HttpResponse.BodySubscriber<T>
Enclosing class:
Flow

public static interface Flow.Subscriber<T>
A receiver of messages. The methods in this interface are invoked in strict sequential order for each Flow.Subscription.