public final class ReactiveStreamsAdapters
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> Publisher<T> |
fromReactiveStreamsPublisher(org.reactivestreams.Publisher<T> source)
|
static <T> org.reactivestreams.Publisher<T> |
toReactiveStreamsPublisher(Publisher<T> publisher)
|
static <T> org.reactivestreams.Publisher<T> |
toReactiveStreamsPublisher(PublisherSource<T> source)
|
public static <T> Publisher<T> fromReactiveStreamsPublisher(org.reactivestreams.Publisher<T> source)
public static <T> org.reactivestreams.Publisher<T> toReactiveStreamsPublisher(Publisher<T> publisher)
T
- Type of items emitted from the source
and the returned Publisher
.publisher
- Publisher
to convert to a Publisher
.Publisher
representation of the passed PublisherSource
.public static <T> org.reactivestreams.Publisher<T> toReactiveStreamsPublisher(PublisherSource<T> source)
T
- Type of items emitted from the source
and the returned Publisher
.source
- PublisherSource
to convert to a Publisher
.Publisher
representation of the passed PublisherSource
.