| io.reactivex.CompletableObserver |
Known Indirect Subclasses
|
Represents the subscription API callbacks when subscribing to a Completable instance.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onComplete()
Called once the deferred computation completes normally.
| ||||||||||
| abstract void |
onError(Throwable e)
Called once if the deferred computation 'throws' an exception.
| ||||||||||
| abstract void |
onSubscribe(Disposable d)
Called once by the Completable to set a Disposable on this instance which
then can be used to cancel the subscription at any time.
| ||||||||||
Called once the deferred computation completes normally.
Called once if the deferred computation 'throws' an exception.
| e | the exception, not null. |
|---|
Called once by the Completable to set a Disposable on this instance which then can be used to cancel the subscription at any time.
| d | the Disposable instance to call dispose on for cancellation, not null |
|---|