public interface Completable
extends org.reactivestreams.Publisher<java.lang.Void>
限定符和类型 | 方法和说明 |
---|---|
static Completable |
complete() |
static Completable |
create(java.util.function.Consumer<CompletableEmitter> emitterConsumer) |
Completable |
doOnComplete(java.lang.Runnable doOnComplete)
完成时
|
Completable |
doOnError(java.util.function.Consumer<java.lang.Throwable> doOnError)
出错时
|
static Completable |
error(java.lang.Throwable cause) |
void |
subscribe()
订阅
|
Completable doOnError(java.util.function.Consumer<java.lang.Throwable> doOnError)
Completable doOnComplete(java.lang.Runnable doOnComplete)
void subscribe()
static Completable create(java.util.function.Consumer<CompletableEmitter> emitterConsumer)
static Completable complete()
static Completable error(java.lang.Throwable cause)