Top Description Methods
io.reactivex.rxjava3.core

public Interface ObservableTransformer<Upstream, Downstream>

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

Interface to compose Observables.

Method Summary

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

Returns:

the transformed ObservableSource instance
apply
(@NonNull Observable<Upstream>
the upstream Observable instance
upstream
)

Applies a function to the upstream Observable and returns an ObservableSource with optionally different element type.

Method Detail

applyback to summary
public @NonNull ObservableSource<Downstream> apply(@NonNull Observable<Upstream> upstream)

Applies a function to the upstream Observable and returns an ObservableSource with optionally different element type.

Parameters
upstream:@NonNull Observable<Upstream>

the upstream Observable instance

Returns:@NonNull ObservableSource<Downstream>

the transformed ObservableSource instance

Annotations
@NonNull