| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | hasCustomOnError()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | onComplete()
Implements io. |
| public void | onError(Throwable
the exception, not null. e)Implements io. |
| public void | onSubscribe(Disposable
the Disposable instance to call dispose on for cancellation, not null d)Implements io. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| EmptyCompletableObserver | back to summary |
|---|---|
| public EmptyCompletableObserver() | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| hasCustomOnError | back to summary |
|---|---|
| public boolean hasCustomOnError() Implements io. Doc from io. Returns true or false if a custom onError consumer has been provided.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Called once the deferred computation completes normally.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements io. Doc from io. Called once if the deferred computation 'throws' an exception. | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Disposable d) Implements io. Doc from io. Called once by the Completable to set a Disposable on this instance which then can be used to cancel the subscription at any time.
| |