Converts this Flow into a Publisher. The flow is run every time the publisher is subscribed to.
Converts this Flow into a Publisher. The flow is run every time the publisher is subscribed to.
Must be run within a concurrency scope, as upon subscribing, a fork is created to run the publishing process. Hence, the scope should remain active as long as the publisher is used.
Elements emitted by the flow are buffered, using a buffer of capacity given by the BufferCapacity in scope.
The returned publisher implements the JDK 9+ Flow.Publisher API. To obtain a publisher implementing com.reactivestreams.Publisher, use the flow-reactive-streams module.