Upstream
- the upstream value typeDownstream
- the downstream value typepublic interface FlowableTransformer<Upstream,Downstream>
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Downstream> |
apply(Flowable<Upstream> upstream)
Applies a function to the upstream Flowable and returns a Publisher with
optionally different element type.
|
org.reactivestreams.Publisher<Downstream> apply(Flowable<Upstream> upstream) throws java.lang.Exception
upstream
- the upstream Flowable instancejava.lang.Exception
- in case the transformation throws, checked exceptions will be wrapped
into a RuntimeException