| 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
Flux from a java Flow.Publisher |
public static <T> Flow.Publisher<T> publisherToFlowPublisher(Publisher<T> publisher)
Flux from a java Flow.PublisherT - 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