public final class CompletableTransformers
extends java.lang.Object
CompletableTransformer,
use Completable.compose(CompletableTransformer)
to apply the operators to an existing sequence.Completables| Modifier and Type | Method and Description |
|---|---|
static io.reactivex.CompletableTransformer |
flatMap(java.util.concurrent.Callable<? extends io.reactivex.CompletableSource> onCompleteHandler,
io.reactivex.functions.Function<? super java.lang.Throwable,? extends io.reactivex.CompletableSource> onErrorHandler)
Maps the terminal signals of the upstream into
CompletableSources and
subscribes to it, relaying its terminal events to the downstream. |
public static io.reactivex.CompletableTransformer flatMap(java.util.concurrent.Callable<? extends io.reactivex.CompletableSource> onCompleteHandler,
io.reactivex.functions.Function<? super java.lang.Throwable,? extends io.reactivex.CompletableSource> onErrorHandler)
CompletableSources and
subscribes to it, relaying its terminal events to the downstream.onCompleteHandler - called when the upstream completes normally and should return
the CompletableSource to continue with.onErrorHandler - called when the upstream fails and should return the
CompletableSource for the given Throwable instance to continue with.