Class CompletableFromPublisher<T>

java.lang.Object
io.reactivex.rxjava3.core.Completable
io.reactivex.rxjava3.internal.operators.completable.CompletableFromPublisher<T>
All Implemented Interfaces:
CompletableSource

public final class CompletableFromPublisher<T> extends Completable
  • Field Details

    • flowable

      final org.reactivestreams.Publisher<T> flowable
  • Constructor Details

    • CompletableFromPublisher

      public CompletableFromPublisher(org.reactivestreams.Publisher<T> flowable)
  • Method Details

    • subscribeActual

      protected void subscribeActual(CompletableObserver downstream)
      Description copied from class: Completable
      Implement this method to handle the incoming CompletableObservers and perform the business logic in your operator.

      There is no need to call any of the plugin hooks on the current Completable instance or the CompletableObserver; all hooks and basic safeguards have been applied by Completable.subscribe(CompletableObserver) before this method gets called.

      Specified by:
      subscribeActual in class Completable
      Parameters:
      downstream - the CompletableObserver instance, never null