Top Description Methods
io.reactivex.rxjava3.core

public Interface FlowableTransformer<Upstream, Downstream>

Annotations
@FunctionalInterface
Type Parameters
<Upstream>
the upstream value type
<Downstream>
the downstream value type
Imports
org.reactivestreams.Publisher, io.reactivex.rxjava3.annotations.NonNull

Interface to compose Flowables.

Method Summary

Modifier and TypeMethod and Description
public @NonNull Publisher<Downstream>

Returns:

the transformed Publisher instance
apply
(@NonNull Flowable<Upstream>
the upstream Flowable instance
upstream
)

Applies a function to the upstream Flowable and returns a Publisher with optionally different element type.

Method Detail

applyback to summary
public @NonNull Publisher<Downstream> apply(@NonNull Flowable<Upstream> upstream)

Applies a function to the upstream Flowable and returns a Publisher with optionally different element type.

Parameters
upstream:@NonNull Flowable<Upstream>

the upstream Flowable instance

Returns:@NonNull Publisher<Downstream>

the transformed Publisher instance

Annotations
@NonNull