Creates a Flow from a Publisher, that is, which emits the elements received by subscribing to the publisher. A new subscription is created every time this flow is run.
Creates a Flow from a Publisher, that is, which emits the elements received by subscribing to the publisher. A new subscription is created every time this flow is run.
The data is passed from a subscription to the flow using a ox.channel.Channel, with a capacity given by the BufferCapacity in scope. That's also how many elements will be at most requested from the publisher at a time.
The publisher parameter should implement the JDK 9+ Flow.Publisher API. To create a flow from a publisher implementing com.reactivestreams.Publisher, use the flow-reactive-streams module.