reactfx/src/main/java/org/reactfx/EventStream.java
default <U> EventStream<Either<T, U>> or(EventStream<? extends U> right) {
        EventStream<T> left = this;
        return new EventStreamBase<Either<T, U>>() {
            @Override
            protected Subscription observeInputs() {
                return Subscription.multi(
                        left.subscribe(l -> emit(Either.left(l))),
                        right.subscribe(r -> emit(Either.right(r))));
            }
        };
    }
/**
     * Returns an event stream that emits all the events emitted from either
     * this stream or the {@code right} stream. An event <i>t</i> emitted from
     * this stream is emitted as {@code Either.left(t)}. An event <i>u</i>
     * emitted from the {@code right} stream is emitted as
     * {@code Either.right(u)}.
     *
     * @see EventStreams#merge(EventStream...)
     */
Returns an event stream that emits all the events emitted from either
this stream or the  right stream. An event t emitted from
this stream is emitted as  Either.left(t). An event u
emitted from the  right stream is emitted as
Either.right(u).


Returns an event stream that emits all the events emitted from either this stream or the right stream . An event t emitted from this stream is emitted as Either . left ( t ) . An event u emitted from the right stream is emitted as Either . right ( u ) .
default <U> EventStream<Either<T, U>> or(EventStream<? extends U> right) {
        EventStream<T> left = this;
        return new EventStreamBase<Either<T, U>>() {
            @Override
            protected Subscription observeInputs() {
                return Subscription.multi(
                        left.subscribe(l -> emit(Either.left(l))),
                        right.subscribe(r -> emit(Either.right(r))));
            }
        };
    }
default < U > EventStream < Either < T , U > > or ( EventStream < ? extends U > right ) { EventStream < T > left = this ; return new EventStreamBase < Either < T , U > > ( ) { @ Override protected Subscription observeInputs ( ) { return Subscription . multi ( left . subscribe ( l -> emit ( Either . left ( l ) ) ) , right . subscribe ( r -> emit ( Either . right ( r ) ) ) ) ; } } ; }
Returns an event stream that emits all the events emitted from either
 this stream or the {@code right} stream.
Returns an event stream that emits all the events emitted from either this stream or the { @code right } stream .