Upstream
- the upstream value typeDownstream
- the downstream value type@FunctionalInterface public interface FlowableTransformer<Upstream,Downstream>
Flowable
s.Modifier and Type | Method and Description |
---|---|
@NonNull org.reactivestreams.Publisher<Downstream> |
apply(@NonNull Flowable<Upstream> upstream)
Applies a function to the upstream
Flowable and returns a Publisher with
optionally different element type. |
@NonNull @NonNull org.reactivestreams.Publisher<Downstream> apply(@NonNull @NonNull Flowable<Upstream> upstream)
Flowable
and returns a Publisher
with
optionally different element type.upstream
- the upstream Flowable
instancePublisher
instance