public abstract class JdkFlowAdapter
extends java.lang.Object
Publisher
.Modifier and Type | Method and Description |
---|---|
static <T> Flux<T> |
flowPublisherToFlux(java.util.concurrent.Flow.Publisher<T> publisher)
Return a
Flux from a java Flow.Publisher |
static <T> java.util.concurrent.Flow.Publisher<T> |
publisherToFlowPublisher(org.reactivestreams.Publisher<T> publisher)
Return a
Flux from a java Flow.Publisher |
public static <T> java.util.concurrent.Flow.Publisher<T> publisherToFlowPublisher(org.reactivestreams.Publisher<T> publisher)
Flux
from a java Flow.Publisher
T
- the type of the publisherpublisher
- the source Publisher to convertFlow.Publisher
from the given Publisher
public static <T> Flux<T> flowPublisherToFlux(java.util.concurrent.Flow.Publisher<T> publisher)
Flux
from a java Flow.Publisher
T
- the type of the publisherpublisher
- the source Publisher to convertFlux
from a java Flow.Publisher