Interface ParallelTransformer<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.
Interface to compose ParallelFlowable.
History: 2.0.8 - experimental
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionapply(@NonNull ParallelFlowable<@NonNull Upstream> upstream) Applies a function to the upstream ParallelFlowable and returns a ParallelFlowable with optionally different element type.
-
Method Details
-
apply
@NonNull @NonNull ParallelFlowable<Downstream> apply(@NonNull @NonNull ParallelFlowable<@NonNull Upstream> upstream) Applies a function to the upstream ParallelFlowable and returns a ParallelFlowable with optionally different element type.- Parameters:
upstream- the upstream ParallelFlowable instance- Returns:
- the transformed ParallelFlowable instance
-