| Modifier and Type | Method and Description |
|---|---|
static <T> Flux<T> |
flowPublisherToFlux(Flow.Publisher<T> publisher)
Return a
Flux from a java Flow.Publisher |
static <T> Flow.Publisher<T> |
publisherToFlowPublisher(Publisher<T> publisher)
Return a java
Flow.Publisher from a Flux |
public static <T> Flow.Publisher<T> publisherToFlowPublisher(Publisher<T> publisher)
Flow.Publisher from a FluxT - the type of the publisherpublisher - the source Publisher to convertFlow.Publisher from the given Publisherpublic static <T> Flux<T> flowPublisherToFlux(Flow.Publisher<T> publisher)
Flux from a java Flow.PublisherT - the type of the publisherpublisher - the source Publisher to convertFlux from a java Flow.Publisher