Package org.reactivestreams
Class FlowAdapters.FlowPublisherFromReactive<T>
- java.lang.Object
-
- org.reactivestreams.FlowAdapters.FlowPublisherFromReactive<T>
-
- Type Parameters:
T
- the element type
- All Implemented Interfaces:
java.util.concurrent.Flow.Publisher<T>
- Enclosing class:
- FlowAdapters
static final class FlowAdapters.FlowPublisherFromReactive<T> extends java.lang.Object implements java.util.concurrent.Flow.Publisher<T>
Flow Publisher that wraps a Reactive Streams Publisher.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Publisher<? extends T>
reactiveStreams
-
Constructor Summary
Constructors Constructor Description FlowPublisherFromReactive(Publisher<? extends T> reactivePublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(java.util.concurrent.Flow.Subscriber<? super T> flow)
-