public abstract class JdkFlowAdapter
extends java.lang.Object
Publisher
.限定符和类型 | 方法和说明 |
---|---|
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 java
Flow.Publisher from a Flux |
public static <T> java.util.concurrent.Flow.Publisher<T> publisherToFlowPublisher(org.reactivestreams.Publisher<T> publisher)
Flow.Publisher
from a Flux
T
- the type of the publisherpublisher
- the source Publisher to convertFlow.Publisher
from the given Publisher