Class MultiSelectFirstWhileOp<T>

  • Type Parameters:
    T - the type of item
    All Implemented Interfaces:
    Multi<T>, org.reactivestreams.Publisher<T>

    public final class MultiSelectFirstWhileOp<T>
    extends AbstractMultiOperator<T,​T>
    Emits the items from upstream while the given predicate returns true for the item. The stream is completed once the predicate return false.
    • Constructor Detail

      • MultiSelectFirstWhileOp

        public MultiSelectFirstWhileOp​(Multi<? extends T> upstream,
                                       java.util.function.Predicate<? super T> predicate)