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.
@FunctionalInterface public interface FlowableOperator<@NonNull Downstream,@NonNull Upstream>Interface to map/wrap a downstreamSubscriberto an upstreamSubscriber.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull org.reactivestreams.Subscriber<? super Upstream>apply(@NonNull org.reactivestreams.Subscriber<? super @NonNull Downstream> subscriber)Applies a function to the childSubscriberand returns a new parentSubscriber.
-
-
-
Method Detail
-
apply
@NonNull @NonNull org.reactivestreams.Subscriber<? super Upstream> apply(@NonNull @NonNull org.reactivestreams.Subscriber<? super @NonNull Downstream> subscriber) throws java.lang.Throwable
Applies a function to the childSubscriberand returns a new parentSubscriber.- Parameters:
subscriber- the childSubscriberinstance- Returns:
- the parent
Subscriberinstance - Throws:
java.lang.Throwable- on failure
-
-