Module java.base

Interface Flow.Subscription

Enclosing class:

public static interface Flow.Subscription
Message control linking a Flow.Publisher and Flow.Subscriber. Subscribers receive items only when requested, and may cancel at any time. The methods in this interface are intended to be invoked only by their Subscribers; usages in other contexts have undefined effects.