Class FlowablePublishMulticast<T,R>

java.lang.Object
io.reactivex.rxjava3.core.Flowable<R>
io.reactivex.rxjava3.internal.operators.flowable.AbstractFlowableWithUpstream<T,R>
io.reactivex.rxjava3.internal.operators.flowable.FlowablePublishMulticast<T,R>
Type Parameters:
T - the input value type
R - the output value type
All Implemented Interfaces:
HasUpstreamPublisher<T>, org.reactivestreams.Publisher<R>

public final class FlowablePublishMulticast<T,R> extends AbstractFlowableWithUpstream<T,R>
Multicasts a Flowable over a selector function.
  • Field Details

    • selector

      final Function<? super Flowable<T>,? extends org.reactivestreams.Publisher<? extends R>> selector
    • prefetch

      final int prefetch
    • delayError

      final boolean delayError
  • Constructor Details

    • FlowablePublishMulticast

      public FlowablePublishMulticast(Flowable<T> source, Function<? super Flowable<T>,? extends org.reactivestreams.Publisher<? extends R>> selector, int prefetch, boolean delayError)
  • Method Details

    • subscribeActual

      protected void subscribeActual(org.reactivestreams.Subscriber<? super R> 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<R>
      Parameters:
      s - the incoming Subscriber, never null