public final class CompletableSerializedSubscriber extends java.lang.Object implements Completable.CompletableSubscriber
| Constructor and Description |
|---|
CompletableSerializedSubscriber(Completable.CompletableSubscriber actual) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Called once the deferred computation completes normally.
|
void |
onError(java.lang.Throwable e)
Called once if the deferred computation 'throws' an exception.
|
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.
|
public CompletableSerializedSubscriber(Completable.CompletableSubscriber actual)
public void onSubscribe(Disposable d)
Completable.CompletableSubscriberonSubscribe in interface Completable.CompletableSubscriberd - the Disposable instance to call dispose on for cancellation, not nullpublic void onError(java.lang.Throwable e)
Completable.CompletableSubscriberonError in interface Completable.CompletableSubscribere - the exception, not null.public void onComplete()
Completable.CompletableSubscriberonComplete in interface Completable.CompletableSubscriber