Interface ProcessingStage<I,​O>

  • Type Parameters:
    I - type of the received items
    O - type of the emitted items
    All Superinterfaces:
    Function<io.reactivex.Flowable<I>,​io.reactivex.Flowable<O>>
    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 ProcessingStage<I,​O>
    extends Function<io.reactivex.Flowable<I>,​io.reactivex.Flowable<O>>
    Defines a processing stage - so a stream transformation.
    Author:
    Clement Escoffier
    • Method Detail

      • apply

        io.reactivex.Flowable<O> apply​(io.reactivex.Flowable<I> source)
        Adapts the streams.
        Specified by:
        apply in interface Function<I,​O>
        Parameters:
        source - the input stream, must not be null
        Returns:
        the adapted stream, must not be null