Class FlowableFromCompletable<T>

java.lang.Object
io.reactivex.rxjava3.core.Flowable<T>
io.reactivex.rxjava3.internal.operators.flowable.FlowableFromCompletable<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
HasUpstreamCompletableSource, org.reactivestreams.Publisher<T>

public final class FlowableFromCompletable<T> extends Flowable<T> implements HasUpstreamCompletableSource
Wrap a Completable into a Flowable.
Since:
3.0.0
  • Field Details

  • Constructor Details

  • Method Details

    • source

      public CompletableSource source()
      Description copied from interface: HasUpstreamCompletableSource
      Returns the upstream source of this Completable.

      Allows discovering the chain of observables.

      Specified by:
      source in interface HasUpstreamCompletableSource
      Returns:
      the source CompletableSource
    • subscribeActual

      protected void subscribeActual(org.reactivestreams.Subscriber<? super T> observer)
      Description copied from class: Flowable
      Operator implementations (both source and intermediate) should implement this method that performs the necessary business logic and handles the incoming Subscribers.

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

      Specified by:
      subscribeActual in class Flowable<T>
      Parameters:
      observer - the incoming Subscriber, never null