Package io.reactivex.rxjava3.core
Interface FlowableTransformer<Upstream,Downstream>
-
- Type Parameters:
Upstream- the upstream value typeDownstream- the downstream value type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FlowableTransformer<@NonNull Upstream,@NonNull Downstream>Interface to composeFlowables.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull org.reactivestreams.Publisher<Downstream>apply(@NonNull Flowable<@NonNull Upstream> upstream)Applies a function to the upstreamFlowableand returns aPublisherwith optionally different element type.
-
-
-
Method Detail
-
apply
@NonNull @NonNull org.reactivestreams.Publisher<Downstream> apply(@NonNull @NonNull Flowable<@NonNull Upstream> upstream)
Applies a function to the upstreamFlowableand returns aPublisherwith optionally different element type.- Parameters:
upstream- the upstreamFlowableinstance- Returns:
- the transformed
Publisherinstance
-
-