The Flow.Publisher interface is a functional interface. A Publisher is a producer of data sent to subscribers:
@FunctionalInterface
public static interface Flow.Publisher<T>
This functional interface can serve as a Lambda expression assignment target. It only takes one argument—the subscribed item type <T>. It has one method, that is, void subscribe(Flow.Subscriber subscriber).