java.lang.Object
io.reactivex.rxjava3.core.Flowable<Object>
io.reactivex.rxjava3.internal.operators.flowable.FlowableEmpty
All Implemented Interfaces:
Supplier<Object>, ScalarSupplier<Object>, org.reactivestreams.Publisher<Object>

public final class FlowableEmpty extends Flowable<Object> implements ScalarSupplier<Object>
A source Flowable that signals an onSubscribe() + onComplete() only.
  • Field Details

  • Constructor Details

    • FlowableEmpty

      private FlowableEmpty()
  • Method Details

    • subscribeActual

      public void subscribeActual(org.reactivestreams.Subscriber<? super Object> s)
      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<Object>
      Parameters:
      s - the incoming Subscriber, never null
    • get

      public Object get()
      Description copied from interface: Supplier
      Produces a value or throws an exception.
      Specified by:
      get in interface ScalarSupplier<Object>
      Specified by:
      get in interface Supplier<Object>
      Returns:
      the value produced