Downstream - the value type of the downstreamUpstream - the value type of the upstream@FunctionalInterface public interface FlowableOperator<Downstream,Upstream>
Subscriber to an upstream Subscriber.| Modifier and Type | Method and Description |
|---|---|
@NonNull Subscriber<? super Upstream> |
apply(@NonNull Subscriber<? super Downstream> subscriber)
Applies a function to the child
Subscriber and returns a new parent Subscriber. |
@NonNull @NonNull Subscriber<? super Upstream> apply(@NonNull @NonNull Subscriber<? super Downstream> subscriber) throws Throwable
Subscriber and returns a new parent Subscriber.subscriber - the child Subscriber instanceSubscriber instanceThrowable - on failure