Uses of Class
io.reactivex.rxjava3.core.Completable
Packages that use Completable
Package
Description
Base reactive classes:
Flowable, Observable,
Single, Maybe and
Completable; base reactive consumers;
other common base interfaces.Contains the central plugin handler
RxJavaPlugins
class to hook into the lifecycle of the base reactive types and schedulers.Classes representing so-called hot sources, aka subjects, that implement a base reactive class and
the respective consumer type at once to allow forms of multicasting events to multiple
consumers as well as consuming another base reactive type of their kind.
-
Uses of Completable in io.reactivex.rxjava3.core
Methods in io.reactivex.rxjava3.core that return CompletableModifier and TypeMethodDescriptionstatic @NonNull CompletableCompletable.amb(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich terminates as soon as one of the sourceCompletables in theIterablesequence terminates (normally or with an error) and disposes all otherCompletables.static @NonNull CompletableCompletable.ambArray(@NonNull CompletableSource... sources) Returns aCompletablewhich terminates as soon as one of the sourceCompletables terminates (normally or with an error) and disposes all otherCompletables.final @NonNull CompletableCompletable.ambWith(@NonNull CompletableSource other) Returns aCompletablethat emits the a terminated event of either thisCompletableor the otherCompletableSource, whichever fires first.final @NonNull CompletableCompletable.andThen(@NonNull CompletableSource next) final @NonNull CompletableCompletable.cache()Subscribes to thisCompletableonly once, when the firstCompletableObserversubscribes to the resultCompletable, caches its terminal event and relays/replays it to observers.static @NonNull CompletableCompletable.complete()Returns aCompletableinstance that completes immediately when subscribed to.final @NonNull CompletableCompletable.compose(@NonNull CompletableTransformer transformer) Calls the given transformer function with this instance and returns the function's resultingCompletableSourcewrapped withCompletable.wrap(CompletableSource).static @NonNull CompletableCompletable.concat(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int prefetch) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatArray(@NonNull CompletableSource... sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatArrayDelayError(@NonNull CompletableSource... sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatDelayError(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int prefetch) Returns aCompletablewhich completes only when all sources complete, one after another.final @NonNull CompletableFlowable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream items intoCompletableSources and subscribes to them one after the other completes.final @NonNull CompletableFlowable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, int prefetch) Maps the upstream items intoCompletableSources and subscribes to them one after the other completes.final @NonNull CompletableMaybe.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentMaybe, where that function returns aCompletable.final @NonNull CompletableObservable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps each element of the currentObservableintoCompletableSources, subscribes to them one at a time in order and waits until the upstream and allCompletableSources complete.final @NonNull CompletableObservable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, int capacityHint) Maps each element of the currentObservableintoCompletableSources, subscribes to them one at a time in order and waits until the upstream and allCompletableSources complete.final @NonNull CompletableSingle.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentSingle, where that function returns aCompletableSource.final @NonNull CompletableFlowable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, delaying all errors till both thisFlowableand all innerCompletableSources terminate.final @NonNull CompletableFlowable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both thisFlowableand all innerCompletableSources terminate.final @NonNull CompletableFlowable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd, int prefetch) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both thisFlowableand all innerCompletableSources terminate.final @NonNull CompletableObservable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, delaying all errors till both the currentObservableand all innerCompletableSources terminate.final @NonNull CompletableObservable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both the currentObservableand all innerCompletableSources terminate.final @NonNull CompletableObservable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd, int bufferSize) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both the currentObservableand all innerCompletableSources terminate.final @NonNull CompletableCompletable.concatWith(@NonNull CompletableSource other) Concatenates thisCompletablewith anotherCompletableSource.static @NonNull CompletableCompletable.create(@NonNull CompletableOnSubscribe source) Provides an API (via a coldCompletable) that bridges the reactive world with the callback-style world.static @NonNull CompletableCompletable.defer(@NonNull Supplier<? extends @NonNull CompletableSource> supplier) Defers the subscription to aCompletableinstance returned by a supplier.final @NonNull CompletableReturns aCompletablewhich delays the emission of the completion event by the given time.final @NonNull CompletableReturns aCompletablewhich delays the emission of the completion event by the given time while running on the specifiedScheduler.final @NonNull CompletableCompletable.delay(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns aCompletablewhich delays the emission of the completion event, and optionally the error as well, by the given time while running on the specifiedScheduler.final @NonNull CompletableCompletable.delaySubscription(long time, @NonNull TimeUnit unit) Returns aCompletablethat delays the subscription to the upstream by a given amount of time.final @NonNull CompletableCompletable.delaySubscription(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aCompletablethat delays the subscription to the upstream by a given amount of time, both waiting and subscribing on a givenScheduler.final @NonNull CompletableCompletable.doAfterTerminate(@NonNull Action onAfterTerminate) Returns aCompletableinstance that calls the givenonAfterTerminateActionafter thisCompletablecompletes normally or with an exception.final @NonNull CompletableCalls the specifiedActionafter thisCompletablesignalsonErrororonCompleteor gets disposed by the downstream.final @NonNull CompletableCompletable.doOnComplete(@NonNull Action onComplete) final @NonNull CompletableCompletable.doOnDispose(@NonNull Action onDispose) Calls the sharedActionif aCompletableObserversubscribed to the currentCompletabledisposes the commonDisposableit received viaonSubscribe.final @NonNull Completablefinal @NonNull Completablefinal @NonNull CompletableCompletable.doOnLifecycle(@NonNull Consumer<? super Disposable> onSubscribe, @NonNull Action onDispose) Calls the appropriateonXXXmethod (shared between allCompletableObservers) for the lifecycle events of the sequence (subscription, disposal).private @NonNull CompletableCompletable.doOnLifecycle(Consumer<? super Disposable> onSubscribe, Consumer<? super Throwable> onError, Action onComplete, Action onTerminate, Action onAfterTerminate, Action onDispose) Returns aCompletableinstance that calls the various callbacks upon the specific lifecycle events.final @NonNull CompletableCompletable.doOnSubscribe(@NonNull Consumer<? super Disposable> onSubscribe) Returns aCompletableinstance that calls the givenonSubscribecallback with the disposable that the downstreamCompletableObservers receive upon subscription.final @NonNull CompletableCompletable.doOnTerminate(@NonNull Action onTerminate) Returns aCompletableinstance that calls the givenonTerminateActionjust before thisCompletablecompletes normally or with an exception.static @NonNull CompletableCreates aCompletablewhich calls the given error supplier for each subscriber and emits its returnedThrowable.static @NonNull CompletableCreates aCompletableinstance that emits the givenThrowableexception to subscribers.final @NonNull CompletableFlowable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps each element of the upstreamFlowableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete.final @NonNull CompletableFlowable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean delayErrors, int maxConcurrency) Maps each element of the upstreamFlowableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete, optionally delaying all errors.final @NonNull CompletableMaybe.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentMaybe, where that function returns aCompletable.final @NonNull CompletableObservable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps each element of the currentObservableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete.final @NonNull CompletableObservable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean delayErrors) Maps each element of the currentObservableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete, optionally delaying all errors.final @NonNull CompletableSingle.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentSingle, where that function returns aCompletableSource.static @NonNull CompletableCompletable.fromAction(@NonNull Action action) Returns aCompletableinstance that runs the givenActionfor eachCompletableObserverand emits either an exception or simply completes.static @NonNull CompletableCompletable.fromCallable(@NonNull Callable<?> callable) Returns aCompletablewhich when subscribed, executes theCallablefunction, ignores its normal result and emitsonErrororonCompleteonly.static @NonNull CompletableCompletable.fromCompletionStage(@NonNull CompletionStage<?> stage) Signals completion (or error) when theCompletionStageterminates.static @NonNull CompletableCompletable.fromFuture(@NonNull Future<?> future) Returns aCompletableinstance that reacts to the termination of the givenFuturein a blocking fashion.static <@NonNull T>
@NonNull CompletableCompletable.fromMaybe(@NonNull MaybeSource<@NonNull T> maybe) Returns aCompletableinstance that when subscribed to, subscribes to theMaybeSourceinstance and emits anonCompleteevent if the maybe emitsonSuccess/onCompleteor forwards anyonErrorevents.static <@NonNull T>
@NonNull CompletableCompletable.fromObservable(@NonNull ObservableSource<@NonNull T> observable) Returns aCompletableinstance that subscribes to the givenObservableSource, ignores all values and emits only the terminal event.static <@NonNull T>
@NonNull CompletableCompletable.fromPublisher(@NonNull org.reactivestreams.Publisher<@NonNull T> publisher) Returns aCompletableinstance that subscribes to the givenPublisher, ignores all values and emits only the terminal event.static @NonNull CompletableCompletable.fromRunnable(@NonNull Runnable run) Returns aCompletableinstance that runs the givenRunnablefor eachCompletableObserverand emits either its unchecked exception or simply completes.static <@NonNull T>
@NonNull CompletableCompletable.fromSingle(@NonNull SingleSource<@NonNull T> single) Returns aCompletableinstance that when subscribed to, subscribes to theSingleSourceinstance and emits a completion event if the single emitsonSuccessor forwards anyonErrorevents.static @NonNull CompletableCompletable.fromSupplier(@NonNull Supplier<?> supplier) Returns aCompletablewhich when subscribed, executes theSupplierfunction, ignores its normal result and emitsonErrororonCompleteonly.final @NonNull CompletableCompletable.hide()Hides the identity of thisCompletableand itsDisposable.final @NonNull CompletableMaybe.ignoreElement()Returns aCompletablethat ignores the item emitted by the currentMaybeand only callsonCompleteoronError.final @NonNull CompletableSingle.ignoreElement()final @NonNull CompletableFlowable.ignoreElements()Ignores all items emitted by the currentFlowableand only callsonCompleteoronError.final @NonNull CompletableObservable.ignoreElements()Ignores all items emitted by the currentObservableand only callsonCompleteoronError.final @NonNull CompletableCompletable.lift(@NonNull CompletableOperator onLift) This method requires advanced knowledge about building operators, please consider other standard composition methods first; Returns aCompletablewhich, when subscribed to, invokes theapply(CompletableObserver)method of the providedCompletableOperatorfor each individual downstreamCompletableand allows the insertion of a custom operator by accessing the downstream'sCompletableObserverduring this subscription phase and providing a newCompletableObserver, containing the custom operator's intended business logic, that will be used in the subscription process going further upstream.static @NonNull CompletableCompletable.merge(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletableinstance that subscribes to all sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.static @NonNull CompletableCompletable.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletableinstance that subscribes to all sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.static @NonNull CompletableCompletable.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int maxConcurrency) Returns aCompletableinstance that keeps subscriptions to a limited number of sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.private static @NonNull CompletableCompletable.merge0(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int maxConcurrency, boolean delayErrors) Returns aCompletableinstance that keeps subscriptions to a limited number ofCompletableSources at once and completes only when all sourceCompletableSources terminate in one way or another, combining any exceptions signaled by either the sourcePublisheror the innerCompletableSourceinstances.static @NonNull CompletableCompletable.mergeArray(@NonNull CompletableSource... sources) Returns aCompletableinstance that subscribes to all sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.static @NonNull CompletableCompletable.mergeArrayDelayError(@NonNull CompletableSource... sources) Returns aCompletablethat subscribes to allCompletableSources in the source array and delays any error emitted by any of the innerCompletableSources until all of them terminate in a way or another.static @NonNull CompletableCompletable.mergeDelayError(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablethat subscribes to allCompletableSources in the source sequence and delays any error emitted by any of the innerCompletableSources until all of them terminate in a way or another.static @NonNull CompletableCompletable.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletablethat subscribes to allCompletableSources in the source sequence and delays any error emitted by either the sourcesPublisheror any of the innerCompletableSources until all of them terminate in a way or another.static @NonNull CompletableCompletable.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int maxConcurrency) Returns aCompletablethat subscribes to a limited number of innerCompletableSources at once in the source sequence and delays any error emitted by either the sourcesPublisheror any of the innerCompletableSources until all of them terminate in a way or another.final @NonNull CompletableCompletable.mergeWith(@NonNull CompletableSource other) Returns aCompletablewhich subscribes to this and the otherCompletableSourceand completes when both of them complete or one emits an error.static @NonNull CompletableCompletable.never()Returns aCompletablethat never callsonErrororonComplete.final @NonNull CompletableReturns aCompletablewhich emits the terminal events from the thread of the specifiedScheduler.final @NonNull CompletableCompletable.onErrorComplete()Returns aCompletableinstance that if thisCompletableemits an error, it will emit anonCompleteand swallow the upstreamThrowable.final @NonNull CompletableCompletable.onErrorComplete(@NonNull Predicate<? super Throwable> predicate) final @NonNull CompletableCompletable.onErrorResumeNext(@NonNull Function<? super Throwable, ? extends CompletableSource> fallbackSupplier) Returns aCompletableinstance that when encounters an error from thisCompletable, calls the specifiedmapperFunctionthat returns aCompletableSourceinstance for it and resumes the execution with it.final @NonNull CompletableCompletable.onErrorResumeWith(@NonNull CompletableSource fallback) Resumes the flow with the givenCompletableSourcewhen the currentCompletablefails instead of signaling the error viaonError.final @NonNull CompletableCompletable.onTerminateDetach()Nulls out references to the upstream producer and downstreamCompletableObserverif the sequence is terminated or downstream callsdispose().final @NonNull CompletableCompletable.repeat()Returns aCompletablethat repeatedly subscribes to thisCompletableuntil disposed.final @NonNull CompletableCompletable.repeat(long times) Returns aCompletablethat subscribes repeatedly at most the given number of times to thisCompletable.final @NonNull CompletableCompletable.repeatUntil(@NonNull BooleanSupplier stop) Returns aCompletablethat repeatedly subscribes to thisCompletableso long as the given stopBooleanSupplierreturnsfalse.final @NonNull CompletableCompletable.repeatWhen(@NonNull Function<? super Flowable<Object>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aCompletableinstance that repeats when thePublisherreturned by the handlerFunctionemits an item or completes when thisPublisheremits anonCompleteevent.final @NonNull CompletableCompletable.retry()Returns aCompletablethat retries thisCompletableas long as it emits anonErrorevent.final @NonNull CompletableCompletable.retry(long times) Returns aCompletablethat when thisCompletableemits an error, retries at most the given number of times before giving up and emitting the last error.final @NonNull CompletableReturns aCompletablethat when thisCompletableemits an error, retries at most times or until the predicate returnsfalse, whichever happens first and emitting the last error.final @NonNull CompletableCompletable.retry(@NonNull BiPredicate<? super Integer, ? super Throwable> predicate) Returns aCompletablethat retries thisCompletablein case of an error as long as thepredicatereturnstrue.final @NonNull CompletableReturns aCompletablethat when thisCompletableemits an error, calls the given predicate with the latestThrowableto decide whether to resubscribe to the upstream or not.final @NonNull CompletableCompletable.retryUntil(@NonNull BooleanSupplier stop) Retries until the given stop function returnstrue.final @NonNull CompletableCompletable.retryWhen(@NonNull Function<? super Flowable<Throwable>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aCompletablewhich given aPublisherand when thisCompletableemits an error, delivers that error through aFlowableand thePublishershould signal a value indicating a retry in response or a terminal event indicating a termination.final @NonNull CompletableCompletable.startWith(@NonNull CompletableSource other) Returns aCompletablewhich first runs the otherCompletableSourcethen the currentCompletableif the other completed normally.final @NonNull CompletableCompletable.subscribeOn(@NonNull Scheduler scheduler) Returns aCompletablewhich subscribes the downstream subscriber on the specified scheduler, making sure the subscription side-effects happen on that specific thread of theScheduler.final @NonNull CompletableFlowable.switchMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning.final @NonNull CompletableObservable.switchMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the items of the currentObservableintoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning.final @NonNull CompletableFlowable.switchMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning and delaying any main or inner errors until all of them terminate.final @NonNull CompletableObservable.switchMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning and delaying any main or inner errors until all of them terminate.static @NonNull CompletableCompletable.switchOnNext(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Switches betweenCompletableSources emitted by the sourcePublisherwhenever a newCompletableSourceis emitted, disposing the previously runningCompletableSource, exposing the setup as aCompletablesequence.static @NonNull CompletableCompletable.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Switches betweenCompletableSources emitted by the sourcePublisherwhenever a newCompletableSourceis emitted, disposing the previously runningCompletableSource, exposing the setup as aCompletablesequence and delaying all errors from all of them until all terminate.final @NonNull CompletableCompletable.takeUntil(@NonNull CompletableSource other) Terminates the downstream if this or the otherCompletableterminates (wins the termination race) while disposing the connection to the losing source.final @NonNull CompletableReturns aCompletable that runs thisCompletableand emits aTimeoutExceptionin case thisCompletabledoesn't complete within the given time.final @NonNull CompletableCompletable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull CompletableSource fallback) Returns aCompletablethat runs thisCompletableand switches to the otherCompletableSourcein case thisCompletabledoesn't complete within the given time.final @NonNull CompletableReturns aCompletablethat runs thisCompletableand emits aTimeoutExceptionin case thisCompletabledoesn't complete within the given time while "waiting" on the specifiedScheduler.final @NonNull CompletableCompletable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull CompletableSource fallback) Returns aCompletablethat runs thisCompletableand switches to the otherCompletableSourcein case thisCompletabledoesn't complete within the given time while "waiting" on the specifiedScheduler.private @NonNull CompletableCompletable.timeout0(long timeout, TimeUnit unit, Scheduler scheduler, CompletableSource fallback) Returns aCompletablethat runs thisCompletableand optionally switches to the otherCompletableSourcein case thisCompletabledoesn't complete within the given time while "waiting" on the specifiedScheduler.static @NonNull CompletableReturns aCompletableinstance that fires itsonCompleteevent after the given delay elapsed.static @NonNull CompletableReturns aCompletableinstance that fires itsonCompleteevent after the given delay elapsed by using the suppliedScheduler.static @NonNull CompletableCompletable.unsafeCreate(@NonNull CompletableSource onSubscribe) Constructs aCompletableinstance by wrapping the given source callback without any safeguards; you should manage the lifecycle and response to downstream disposal.final @NonNull CompletableCompletable.unsubscribeOn(@NonNull Scheduler scheduler) Returns aCompletablewhich makes sure when an observer disposes the subscription, thedispose()method is called on the specifiedScheduler.static <@NonNull R>
@NonNull CompletableCompletable.using(@NonNull Supplier<@NonNull R> resourceSupplier, @NonNull Function<? super @NonNull R, ? extends CompletableSource> sourceSupplier, @NonNull Consumer<? super @NonNull R> resourceCleanup) Returns aCompletableinstance which manages a resource along with a customCompletableSourceinstance while the subscription is active.static <@NonNull R>
@NonNull CompletableCompletable.using(@NonNull Supplier<@NonNull R> resourceSupplier, @NonNull Function<? super @NonNull R, ? extends CompletableSource> sourceSupplier, @NonNull Consumer<? super @NonNull R> resourceCleanup, boolean eager) Returns aCompletableinstance which manages a resource along with a customCompletableSourceinstance while the subscription is active and performs eager or lazy resource disposition.static @NonNull CompletableCompletable.wrap(@NonNull CompletableSource source) Methods in io.reactivex.rxjava3.core with parameters of type CompletableModifier and TypeMethodDescriptionCompletableConverter.apply(@NonNull Completable upstream) Applies a function to the upstream Completable and returns a converted value of typeR.CompletableTransformer.apply(@NonNull Completable upstream) Applies a function to the upstreamCompletableand returns aCompletableSource.Method parameters in io.reactivex.rxjava3.core with type arguments of type CompletableModifier and TypeMethodDescription<S extends Scheduler & Disposable>
SScheduler.when(@NonNull Function<Flowable<Flowable<Completable>>, Completable> combine) Allows the use of operators for controlling the timing around when actions scheduled on workers are actually done.<S extends Scheduler & Disposable>
SScheduler.when(@NonNull Function<Flowable<Flowable<Completable>>, Completable> combine) Allows the use of operators for controlling the timing around when actions scheduled on workers are actually done. -
Uses of Completable in io.reactivex.rxjava3.internal.jdk8
Subclasses of Completable in io.reactivex.rxjava3.internal.jdk8Modifier and TypeClassDescriptionfinal classWrap a CompletionStage and signal its outcome. -
Uses of Completable in io.reactivex.rxjava3.internal.operators.completable
Subclasses of Completable in io.reactivex.rxjava3.internal.operators.completableModifier and TypeClassDescriptionfinal classfinal classfinal classConsume the upstream source exactly once and cache its terminal event.final classfinal classfinal classfinal classfinal classfinal classfinal classBreaks the references between the upstream and downstream when the Completable terminates.final classfinal classExecute an action after an onError, onComplete or a dispose event.final classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classCall a Supplier for each incoming CompletableObserver and signal completion or the thrown exception.final classfinal classHides the identity of the upstream Completable and its Disposable sent through onSubscribe.final classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classfinal classTerminates the sequence if either the main or the other Completable terminate.final classfinal classSignals anonCompleteevent after the specified delay.final classFields in io.reactivex.rxjava3.internal.operators.completable declared as CompletableModifier and TypeFieldDescriptionstatic final CompletableCompletableEmpty.INSTANCEstatic final CompletableCompletableNever.INSTANCE(package private) final CompletableCompletableMaterialize.source(package private) final CompletableCompletableTakeUntilCompletable.sourceConstructors in io.reactivex.rxjava3.internal.operators.completable with parameters of type CompletableModifierConstructorDescriptionCompletableMaterialize(Completable source) CompletableTakeUntilCompletable(Completable source, CompletableSource other) -
Uses of Completable in io.reactivex.rxjava3.internal.operators.flowable
Subclasses of Completable in io.reactivex.rxjava3.internal.operators.flowableModifier and TypeClassDescriptionfinal classMaps a sequence of values into CompletableSources and awaits their termination.final class -
Uses of Completable in io.reactivex.rxjava3.internal.operators.maybe
Subclasses of Completable in io.reactivex.rxjava3.internal.operators.maybeModifier and TypeClassDescriptionfinal classMaps the success value of the source MaybeSource into a Completable.final classTurns an onSuccess into an onComplete, onError and onComplete is relayed as is. -
Uses of Completable in io.reactivex.rxjava3.internal.operators.mixed
Subclasses of Completable in io.reactivex.rxjava3.internal.operators.mixedModifier and TypeClassDescriptionfinal classMaps the upstream items intoCompletableSources and subscribes to them one after the other completes or terminates (in error-delaying mode).final classMaps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning.final classSwitch between subsequentCompletableSources emitted by aPublisher.final classMaps the upstream items intoCompletableSources and subscribes to them one after the other completes or terminates (in error-delaying mode).final classMaps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning. -
Uses of Completable in io.reactivex.rxjava3.internal.operators.observable
Subclasses of Completable in io.reactivex.rxjava3.internal.operators.observableModifier and TypeClassDescriptionfinal classMaps a sequence of values into CompletableSources and awaits their termination.final class -
Uses of Completable in io.reactivex.rxjava3.internal.operators.single
Subclasses of Completable in io.reactivex.rxjava3.internal.operators.singleModifier and TypeClassDescriptionfinal classMaps the success value of the source SingleSource into a Completable. -
Uses of Completable in io.reactivex.rxjava3.internal.schedulers
Subclasses of Completable in io.reactivex.rxjava3.internal.schedulersModifier and TypeClassDescription(package private) final classClasses in io.reactivex.rxjava3.internal.schedulers that implement interfaces with type arguments of type CompletableModifier and TypeClassDescription(package private) static final classFields in io.reactivex.rxjava3.internal.schedulers with type parameters of type CompletableModifier and TypeFieldDescriptionprivate final FlowableProcessor<Flowable<Completable>> SchedulerWhen.workerProcessorMethods in io.reactivex.rxjava3.internal.schedulers that return CompletableModifier and TypeMethodDescriptionSchedulerWhen.CreateWorkerFunction.apply(SchedulerWhen.ScheduledAction action) Constructor parameters in io.reactivex.rxjava3.internal.schedulers with type arguments of type CompletableModifierConstructorDescriptionSchedulerWhen(Function<Flowable<Flowable<Completable>>, Completable> combine, Scheduler actualScheduler) SchedulerWhen(Function<Flowable<Flowable<Completable>>, Completable> combine, Scheduler actualScheduler) -
Uses of Completable in io.reactivex.rxjava3.plugins
Fields in io.reactivex.rxjava3.plugins with type parameters of type CompletableModifier and TypeFieldDescription(package private) static @Nullable Function<? super Completable, ? extends Completable> RxJavaPlugins.onCompletableAssembly(package private) static @Nullable Function<? super Completable, ? extends Completable> RxJavaPlugins.onCompletableAssembly(package private) static @Nullable BiFunction<? super Completable, @NonNull ? super CompletableObserver, @NonNull ? extends CompletableObserver> RxJavaPlugins.onCompletableSubscribeMethods in io.reactivex.rxjava3.plugins that return CompletableModifier and TypeMethodDescriptionstatic @NonNull CompletableRxJavaPlugins.onAssembly(@NonNull Completable source) Calls the associated hook function.Methods in io.reactivex.rxjava3.plugins that return types with arguments of type CompletableModifier and TypeMethodDescriptionstatic @Nullable Function<? super Completable, ? extends Completable> RxJavaPlugins.getOnCompletableAssembly()Returns the current hook function.static @Nullable Function<? super Completable, ? extends Completable> RxJavaPlugins.getOnCompletableAssembly()Returns the current hook function.static @Nullable BiFunction<? super Completable, @NonNull ? super CompletableObserver, @NonNull ? extends CompletableObserver> RxJavaPlugins.getOnCompletableSubscribe()Returns the current hook function.Methods in io.reactivex.rxjava3.plugins with parameters of type CompletableModifier and TypeMethodDescriptionstatic @NonNull CompletableRxJavaPlugins.onAssembly(@NonNull Completable source) Calls the associated hook function.static @NonNull CompletableObserverRxJavaPlugins.onSubscribe(@NonNull Completable source, @NonNull CompletableObserver observer) Calls the associated hook function.Method parameters in io.reactivex.rxjava3.plugins with type arguments of type CompletableModifier and TypeMethodDescriptionstatic voidRxJavaPlugins.setOnCompletableAssembly(@Nullable Function<? super Completable, ? extends Completable> onCompletableAssembly) Sets the specific hook function.static voidRxJavaPlugins.setOnCompletableAssembly(@Nullable Function<? super Completable, ? extends Completable> onCompletableAssembly) Sets the specific hook function.static voidRxJavaPlugins.setOnCompletableSubscribe(@Nullable BiFunction<? super Completable, @NonNull ? super CompletableObserver, @NonNull ? extends CompletableObserver> onCompletableSubscribe) Sets the specific hook function. -
Uses of Completable in io.reactivex.rxjava3.subjects
Subclasses of Completable in io.reactivex.rxjava3.subjectsModifier and TypeClassDescriptionfinal classRepresents a hot Completable-like source and consumer of events similar to Subjects.