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 org.reactivestreams.Subscriber<? super Upstream> |
apply(@NonNull org.reactivestreams.Subscriber<? super Downstream> subscriber)
Applies a function to the child
Subscriber and returns a new parent Subscriber . |
@NonNull @NonNull org.reactivestreams.Subscriber<? super Upstream> apply(@NonNull @NonNull org.reactivestreams.Subscriber<? super Downstream> subscriber) throws Throwable
Subscriber
and returns a new parent Subscriber
.subscriber
- the child Subscriber
instanceSubscriber
instanceThrowable
- on failure