public interface CompletableSubscriber
Modifier and Type | Method and Description |
---|---|
void |
onCompleted()
Called once the deferred computation completes normally.
|
void |
onError(java.lang.Throwable e)
Called once if the deferred computation 'throws' an exception.
|
void |
onSubscribe(Subscription d)
Called once by the Completable to set a Subscription on this instance which
then can be used to cancel the subscription at any time.
|
void onCompleted()
void onError(java.lang.Throwable e)
e
- the exception, not null.void onSubscribe(Subscription d)
d
- the Subscription instance to call dispose on for cancellation, not null