Uses of Interface
io.reactivex.rxjava3.core.CompletableObserver
Packages that use CompletableObserver
Package
Description
Base reactive classes:
Flowable, Observable,
Single, Maybe and
Completable; base reactive consumers;
other common base interfaces.Default wrappers and implementations for observer-based consumer classes and interfaces,
including disposable and resource-tracking variants and
the
TestObserver that allows unit testing
Observable-, Single-,
Maybe- and Completable-based flows.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 CompletableObserver in io.reactivex.rxjava3.core
Methods in io.reactivex.rxjava3.core with type parameters of type CompletableObserverModifier and TypeMethodDescriptionfinal <@NonNull E extends CompletableObserver>
ECompletable.subscribeWith(@NonNull E observer) Subscribes a givenCompletableObserver(subclass) to thisCompletableand returns the givenCompletableObserveras is.Methods in io.reactivex.rxjava3.core that return CompletableObserverModifier and TypeMethodDescriptionCompletableOperator.apply(@NonNull CompletableObserver observer) Applies a function to the childCompletableObserverand returns a new parentCompletableObserver.Methods in io.reactivex.rxjava3.core with parameters of type CompletableObserverModifier and TypeMethodDescriptionCompletableOperator.apply(@NonNull CompletableObserver observer) Applies a function to the childCompletableObserverand returns a new parentCompletableObserver.final voidCompletable.blockingSubscribe(@NonNull CompletableObserver observer) Subscribes to the currentCompletableand calls the appropriateCompletableObservermethod on the current thread.final voidCompletable.safeSubscribe(@NonNull CompletableObserver observer) Wraps the givenCompletableObserver, catches anyRuntimeExceptions thrown by itsCompletableObserver.onSubscribe(Disposable),CompletableObserver.onError(Throwable)orCompletableObserver.onComplete()methods and routes those to the global error handler viaRxJavaPlugins.onError(Throwable).final voidCompletable.subscribe(@NonNull CompletableObserver observer) voidCompletableSource.subscribe(@NonNull CompletableObserver observer) Subscribes the givenCompletableObserverto thisCompletableSourceinstance.protected abstract voidCompletable.subscribeActual(@NonNull CompletableObserver observer) Implement this method to handle the incomingCompletableObservers and perform the business logic in your operator. -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.disposables
Methods in io.reactivex.rxjava3.internal.disposables with parameters of type CompletableObserverModifier and TypeMethodDescriptionstatic voidEmptyDisposable.complete(CompletableObserver observer) static voidEmptyDisposable.error(Throwable e, CompletableObserver observer) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.jdk8
Classes in io.reactivex.rxjava3.internal.jdk8 that implement CompletableObserverModifier and TypeClassDescriptionfinal classClass that extends CompletableFuture and converts multiple types of reactive consumers and their signals into completion signals.Methods in io.reactivex.rxjava3.internal.jdk8 with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidCompletableFromCompletionStage.subscribeActual(CompletableObserver observer) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.observers
Classes in io.reactivex.rxjava3.internal.observers that implement CompletableObserverModifier and TypeClassDescriptionfinal classBlocks until the upstream terminates and dispatches the outcome to the actual observer.final classA combined Observer that awaits the success or error signal via a CountDownLatch.final classfinal classWraps lambda callbacks and when the upstream terminates or this (Single | Maybe | Completable) observer gets disposed, removes itself from aCompositeDisposable.final classfinal classAn Observer + Future that expects exactly one upstream value and provides it via the (blocking) Future API.final classWraps anotherCompletableObserverand catches exceptions thrown by itsonSubscribe,onErrororonCompletemethods despite the protocol forbids it.Methods in io.reactivex.rxjava3.internal.observers with parameters of type CompletableObserverModifier and TypeMethodDescriptionvoidBlockingDisposableMultiObserver.blockingConsume(CompletableObserver observer) Constructors in io.reactivex.rxjava3.internal.observers with parameters of type CompletableObserver -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.operators.completable
Classes in io.reactivex.rxjava3.internal.operators.completable that implement CompletableObserverModifier and TypeClassDescriptionfinal classConsume the upstream source exactly once and cache its terminal event.Methods in io.reactivex.rxjava3.internal.operators.completable with parameters of type CompletableObserverModifier and TypeMethodDescriptionvoidCompletableAmb.subscribeActual(CompletableObserver observer) protected voidCompletableAndThenCompletable.subscribeActual(CompletableObserver observer) protected voidCompletableCache.subscribeActual(CompletableObserver observer) voidCompletableConcat.subscribeActual(CompletableObserver observer) voidCompletableConcatArray.subscribeActual(CompletableObserver observer) voidCompletableConcatIterable.subscribeActual(CompletableObserver observer) protected voidCompletableCreate.subscribeActual(CompletableObserver observer) protected voidCompletableDefer.subscribeActual(CompletableObserver observer) protected voidCompletableDelay.subscribeActual(CompletableObserver observer) protected voidCompletableDetach.subscribeActual(CompletableObserver observer) protected voidCompletableDisposeOn.subscribeActual(CompletableObserver observer) protected voidCompletableDoFinally.subscribeActual(CompletableObserver observer) protected voidCompletableDoOnEvent.subscribeActual(CompletableObserver observer) voidCompletableEmpty.subscribeActual(CompletableObserver observer) protected voidCompletableError.subscribeActual(CompletableObserver observer) protected voidCompletableErrorSupplier.subscribeActual(CompletableObserver observer) protected voidCompletableFromAction.subscribeActual(CompletableObserver observer) protected voidCompletableFromCallable.subscribeActual(CompletableObserver observer) protected voidCompletableFromObservable.subscribeActual(CompletableObserver observer) protected voidCompletableFromPublisher.subscribeActual(CompletableObserver downstream) protected voidCompletableFromRunnable.subscribeActual(CompletableObserver observer) protected voidCompletableFromSingle.subscribeActual(CompletableObserver observer) protected voidCompletableFromSupplier.subscribeActual(CompletableObserver observer) protected voidCompletableFromUnsafeSource.subscribeActual(CompletableObserver observer) protected voidCompletableHide.subscribeActual(CompletableObserver observer) protected voidCompletableLift.subscribeActual(CompletableObserver observer) voidCompletableMerge.subscribeActual(CompletableObserver observer) voidCompletableMergeArray.subscribeActual(CompletableObserver observer) voidCompletableMergeArrayDelayError.subscribeActual(CompletableObserver observer) voidCompletableMergeDelayErrorIterable.subscribeActual(CompletableObserver observer) voidCompletableMergeIterable.subscribeActual(CompletableObserver observer) protected voidCompletableNever.subscribeActual(CompletableObserver observer) protected voidCompletableObserveOn.subscribeActual(CompletableObserver observer) protected voidCompletableOnErrorComplete.subscribeActual(CompletableObserver observer) protected voidCompletablePeek.subscribeActual(CompletableObserver observer) protected voidCompletableResumeNext.subscribeActual(CompletableObserver observer) protected voidCompletableSubscribeOn.subscribeActual(CompletableObserver observer) protected voidCompletableTakeUntilCompletable.subscribeActual(CompletableObserver observer) voidCompletableTimeout.subscribeActual(CompletableObserver observer) protected voidCompletableTimer.subscribeActual(CompletableObserver observer) protected voidCompletableUsing.subscribeActual(CompletableObserver observer) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.operators.flowable
Classes in io.reactivex.rxjava3.internal.operators.flowable that implement CompletableObserverModifier and TypeClassDescriptionstatic final classMethods in io.reactivex.rxjava3.internal.operators.flowable with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidFlowableFlatMapCompletableCompletable.subscribeActual(CompletableObserver observer) protected voidFlowableIgnoreElementsCompletable.subscribeActual(CompletableObserver t) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.operators.maybe
Methods in io.reactivex.rxjava3.internal.operators.maybe with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidMaybeFlatMapCompletable.subscribeActual(CompletableObserver observer) protected voidMaybeIgnoreElementCompletable.subscribeActual(CompletableObserver observer) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.operators.mixed
Classes in io.reactivex.rxjava3.internal.operators.mixed that implement CompletableObserverModifier and TypeClassDescriptionfinal classA consumer that implements the consumer types of Maybe, Single and Completable and turns their signals into Notifications for a SingleObserver.Methods in io.reactivex.rxjava3.internal.operators.mixed with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidFlowableConcatMapCompletable.subscribeActual(CompletableObserver observer) protected voidFlowableSwitchMapCompletable.subscribeActual(CompletableObserver observer) protected voidFlowableSwitchMapCompletablePublisher.subscribeActual(CompletableObserver observer) protected voidObservableConcatMapCompletable.subscribeActual(CompletableObserver observer) protected voidObservableSwitchMapCompletable.subscribeActual(CompletableObserver observer) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.operators.observable
Classes in io.reactivex.rxjava3.internal.operators.observable that implement CompletableObserverModifier and TypeClassDescriptionstatic final classMethods in io.reactivex.rxjava3.internal.operators.observable with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidObservableFlatMapCompletableCompletable.subscribeActual(CompletableObserver observer) voidObservableIgnoreElementsCompletable.subscribeActual(CompletableObserver t) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.operators.single
Methods in io.reactivex.rxjava3.internal.operators.single with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidSingleFlatMapCompletable.subscribeActual(CompletableObserver observer) -
Uses of CompletableObserver in io.reactivex.rxjava3.internal.util
Classes in io.reactivex.rxjava3.internal.util that implement CompletableObserverModifier and TypeClassDescriptionenumSingleton implementing many interfaces as empty.Methods in io.reactivex.rxjava3.internal.util with parameters of type CompletableObserverModifier and TypeMethodDescriptionvoidAtomicThrowable.tryTerminateConsumer(CompletableObserver consumer) Tries to terminate this atomic throwable (by swapping in the TERMINATED indicator) and notifies the consumer if there was no error (onComplete) or there was a non-null, non-indicator exception contained before (onError). -
Uses of CompletableObserver in io.reactivex.rxjava3.observers
Classes in io.reactivex.rxjava3.observers that implement CompletableObserverModifier and TypeClassDescriptionclassAn abstractCompletableObserverthat allows asynchronous cancellation by implementing Disposable.classAn abstractCompletableObserverthat allows asynchronous cancellation of its subscription and associated resources.classTestObserver<T>AnObserver,MaybeObserver,SingleObserverandCompletableObservercomposite that can record events fromObservables,Maybes,Singles andCompletables and allows making assertions about them. -
Uses of CompletableObserver in io.reactivex.rxjava3.plugins
Methods in io.reactivex.rxjava3.plugins that return CompletableObserverModifier and TypeMethodDescriptionstatic @NonNull CompletableObserverRxJavaPlugins.onSubscribe(@NonNull Completable source, @NonNull CompletableObserver observer) Calls the associated hook function.Methods in io.reactivex.rxjava3.plugins that return types with arguments of type CompletableObserverModifier and TypeMethodDescriptionstatic @Nullable BiFunction<? super Completable, @NonNull ? super CompletableObserver, @NonNull ? extends CompletableObserver> RxJavaPlugins.getOnCompletableSubscribe()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 CompletableObserverModifier and TypeMethodDescriptionstatic @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 CompletableObserverModifier and TypeMethodDescriptionstatic voidRxJavaPlugins.setOnCompletableSubscribe(@Nullable BiFunction<? super Completable, @NonNull ? super CompletableObserver, @NonNull ? extends CompletableObserver> onCompletableSubscribe) 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 CompletableObserver in io.reactivex.rxjava3.subjects
Classes in io.reactivex.rxjava3.subjects that implement CompletableObserverModifier and TypeClassDescriptionfinal classRepresents a hot Completable-like source and consumer of events similar to Subjects.Methods in io.reactivex.rxjava3.subjects with parameters of type CompletableObserverModifier and TypeMethodDescriptionprotected voidCompletableSubject.subscribeActual(CompletableObserver observer)