Top Description Methods
rx

public Interface CompletableSubscriber

Known Direct Implementers
rx.internal.operators.CompletableFlatMapSingleToCompletable.SourceSubscriber, rx.internal.operators.CompletableOnSubscribeConcat.CompletableConcatSubscriber.ConcatInnerSubscriber, rx.internal.operators.CompletableOnSubscribeConcatArray.ConcatInnerSubscriber, rx.internal.operators.CompletableOnSubscribeConcatIterable.ConcatInnerSubscriber, rx.internal.operators.OnSubscribeOnAssemblyCompletable.OnAssemblyCompletableSubscriber, rx.internal.operators.OnSubscribeFlatMapCompletable.FlatMapCompletableSubscriber.InnerSubscriber, rx.internal.operators.SingleTakeUntilCompletable.TakeUntilSourceSubscriber, rx.observers.AsyncCompletableSubscriber, rx.observers.SafeCompletableSubscriber

Represents the subscription API callbacks when subscribing to a Completable instance.
Since
1.3

Method Summary

Modifier and TypeMethod and Description
public void
onCompleted()

Called once the deferred computation completes normally.

public void
onError(Throwable
the exception, not null.
e
)

Called once if the deferred computation 'throws' an exception.

public void
onSubscribe(Subscription
the Subscription instance to call dispose on for cancellation, not null
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.

Method Detail

onCompletedback to summary
public void onCompleted()

Called once the deferred computation completes normally.

onErrorback to summary
public void onError(Throwable e)

Called once if the deferred computation 'throws' an exception.

Parameters
e:Throwable

the exception, not null.

onSubscribeback to summary
public 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.

Parameters
d:Subscription

the Subscription instance to call dispose on for cancellation, not null