Class MultiSelectFirstUntilOtherOp<T,​U>

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

    public final class MultiSelectFirstUntilOtherOp<T,​U>
    extends AbstractMultiOperator<T,​T>
    Emits items from upstream until another Publisher signals an event (items, failures or completion). Once this signal is received, the subscription to upstream is cancelled.
    • Constructor Detail

      • MultiSelectFirstUntilOtherOp

        public MultiSelectFirstUntilOtherOp​(Multi<? extends T> upstream,
                                            org.reactivestreams.Publisher<U> other)