| Modifier and Type | Field and Description |
|---|---|
| protected boolean | hasValue
Can indicate if there was at least on onNext call. |
| private static final long | |
| protected Subscription | upstream
The upstream subscription. |
| Access | Constructor and Description |
|---|---|
| public | DeferredScalarSubscriber(Subscriber<? super R>
the downstream subscriber, not null (not verified) downstream)Creates a DeferredScalarSubscriber instance and wraps a downstream Subscriber. |
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Overrides io. Implements org. Publisher to stop sending data and clean up resources.
|
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements org. Publisher#subscribe(Subscriber).
|
| hasValue | back to summary |
|---|---|
| protected boolean hasValue Can indicate if there was at least on onNext call. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| upstream | back to summary |
|---|---|
| protected Subscription upstream The upstream subscription. | |
| DeferredScalarSubscriber | back to summary |
|---|---|
| public DeferredScalarSubscriber(Subscriber<? super R> downstream) Creates a DeferredScalarSubscriber instance and wraps a downstream Subscriber.
| |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides io. Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |