Package io.reactivex.rxjava3.core
Interface FlowableOperator<Downstream,Upstream>
- Type Parameters:
Downstream
- the value type of the downstreamUpstream
- the value type of the upstream
- 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 map/wrap a downstream
Subscriber
to an upstream Subscriber
.-
Method Summary
-
Method Details
-
apply
@NonNull @NonNull org.reactivestreams.Subscriber<? super Upstream> apply(@NonNull @NonNull org.reactivestreams.Subscriber<? super @NonNull Downstream> subscriber) throws Throwable Applies a function to the childSubscriber
and returns a new parentSubscriber
.- Parameters:
subscriber
- the childSubscriber
instance- Returns:
- the parent
Subscriber
instance - Throws:
Throwable
- on failure
-