Interface ParallelFlowableConverter<T,​R>

  • Type Parameters:
    T - the upstream type
    R - the output type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ParallelFlowableConverter<T,​R>
    Convenience interface and callback used by the ParallelFlowable.to(io.reactivex.rxjava3.parallel.ParallelFlowableConverter<T, R>) operator to turn a ParallelFlowable into another value fluently.

    History: 2.1.7 - experimental

    Since:
    2.2
    • Method Detail

      • apply

        @NonNull
        R apply​(@NonNull
                @NonNull ParallelFlowable<T> upstream)
        Applies a function to the upstream ParallelFlowable and returns a converted value of type R.
        Parameters:
        upstream - the upstream ParallelFlowable instance
        Returns:
        the converted value