public abstract class SubscribableCompletable extends Completable implements CompletableSource
Completable that is also a CompletableSource and hence can be subscribed.
Typically, this will be used to implement a Completable that does not require an additional allocation when
converting to a CompletableSource via SourceAdapters.toSource(Completable).
CompletableSource.Processor, CompletableSource.Subscriber| Constructor and Description |
|---|
SubscribableCompletable() |
| Modifier and Type | Method and Description |
|---|---|
void |
subscribe(CompletableSource.Subscriber subscriber)
Subscribes to the outcome of this
CompletableSource. |
afterCancel, afterFinally, afterOnComplete, afterOnError, afterOnSubscribe, afterSubscriber, beforeCancel, beforeFinally, beforeOnComplete, beforeOnError, beforeOnSubscribe, beforeSubscriber, completed, concat, concat, concat, defer, failed, fromFuture, fromRunnable, fromStage, handleSubscribe, idleTimeout, idleTimeout, idleTimeout, idleTimeout, liftAsync, liftSync, merge, merge, merge, mergeAll, mergeAll, mergeAll, mergeAll, mergeAllDelayError, mergeAllDelayError, mergeAllDelayError, mergeAllDelayError, mergeDelayError, mergeDelayError, never, onErrorResume, publishAndSubscribeOn, publishAndSubscribeOnOverride, publishOn, publishOnOverride, repeat, repeatWhen, retry, retryWhen, subscribe, subscribe, subscribeInternal, subscribeOn, subscribeOnOverride, subscribeShareContext, toCompletionStage, toFuture, toPublisher, toSingle, whenCancel, whenFinally, whenOnComplete, whenOnError, whenOnSubscribe, whenSubscriberpublic final void subscribe(CompletableSource.Subscriber subscriber)
CompletableSourceCompletableSource.subscribe in interface CompletableSourcesubscriber - of the outcome.PublisherSource.subscribe(PublisherSource.Subscriber)