The callbacks are all optional.
| Modifier and Type | Method and Description |
|---|---|
| public default Consumer | Returns: A task that will run after (finally)Subscriber#onNext(Object)A task that will run after (finally) |
| public Runnable | Returns: A task will run after termination viaSubscriber#onComplete() or Subscriber#onError(Throwable)A task will run after termination via |
| public Runnable | Returns: A task that will run onSubscription#cancel()A task that will run on |
| public Runnable | Returns: A task that will run onSubscriber#onComplete()A task that will run on |
| public default Consumer | Returns: A task that will run onContext propagation from upstream to downstreamA task that will run on |
| public Consumer | Returns: A consumer that will observeSubscriber#onError(Throwable)A consumer that will observe |
| public Consumer | Returns: A consumer that will observeSubscriber#onNext(Object)A consumer that will observe |
| public LongConsumer | Returns: A consumer of long that will observeSubscription#request(long)}A consumer of long that will observe |
| public Consumer | Returns: A consumer that will observeSubscriber#onSubscribe(Subscription)A consumer that will observe |
| onAfterNextCall | back to summary |
|---|---|
| public default Consumer A task that will run after (finally)
| |
| onAfterTerminateCall | back to summary |
|---|---|
| public Runnable onAfterTerminateCall() A task will run after termination via
| |
| onCancelCall | back to summary |
|---|---|
| public Runnable onCancelCall() A task that will run on
| |
| onCompleteCall | back to summary |
|---|---|
| public Runnable onCompleteCall() A task that will run on
| |
| onCurrentContextCall | back to summary |
|---|---|
| public default Consumer A task that will run on | |
| onErrorCall | back to summary |
|---|---|
| public Consumer A consumer that will observe
| |
| onNextCall | back to summary |
|---|---|
| public Consumer A consumer that will observe
| |
| onRequestCall | back to summary |
|---|---|
| public LongConsumer onRequestCall() A consumer of long that will observe
| |
| onSubscribeCall | back to summary |
|---|---|
| public Consumer A consumer that will observe
| |