Class FlowableFlatMapCompletableCompletable<T>

  • Type Parameters:
    T - the value type
    All Implemented Interfaces:
    CompletableSource, FuseToFlowable<T>

    public final class FlowableFlatMapCompletableCompletable<T>
    extends Completable
    implements FuseToFlowable<T>
    Maps a sequence of values into CompletableSources and awaits their termination.
    • Constructor Detail

      • FlowableFlatMapCompletableCompletable

        public FlowableFlatMapCompletableCompletable​(Flowable<T> source,
                                                     Function<? super T,​? extends CompletableSource> mapper,
                                                     boolean delayErrors,
                                                     int maxConcurrency)
    • Method Detail

      • subscribeActual

        protected void subscribeActual​(CompletableObserver observer)
        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:
        observer - the CompletableObserver instance, never null
      • fuseToFlowable

        public Flowable<T> fuseToFlowable()
        Description copied from interface: FuseToFlowable
        Returns a (direct) Flowable for the operator.

        The implementation should handle the necessary RxJavaPlugins wrapping.

        Specified by:
        fuseToFlowable in interface FuseToFlowable<T>
        Returns:
        the Flowable instance