public class FlatteningSubscriber<U> extends BaseSubscriberAdapter<Iterable<U>,U>
downstreamDemand, handlingStateUpdate, onCompleteCalledByUpstream, onErrorFromUpstream, terminalCallMadeDownstream, upstreamDemand, upstreamSubscriptionsubscriber| Constructor and Description |
|---|
FlatteningSubscriber(org.reactivestreams.Subscriber<? super U> subscriber) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fulfillDownstreamDemand()
This method is called when demand from the downstream subscriber needs to be fulfilled.
|
void |
onNext(Iterable<U> item) |
handleStateUpdate, onComplete, onError, onSubscribepublic FlatteningSubscriber(org.reactivestreams.Subscriber<? super U> subscriber)
protected void fulfillDownstreamDemand()
BaseSubscriberAdapterdownstreamDemand is no longer needed. Implementations are responsible for decrementing the downstreamDemand accordingly as demand gets fulfilled.fulfillDownstreamDemand in class BaseSubscriberAdapter<Iterable<U>,U>Copyright © 2026. All rights reserved.