src/main/java/io/reactivex/Maybe.java
@SuppressWarnings("unchecked")
    @CheckReturnValue
    @NonNull
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Maybe<T> ambWith(MaybeSource<? extends T> other) {
        ObjectHelper.requireNonNull(other, "other is null");
        return ambArray(this, other);
    }
@SuppressWarnings("unchecked")
    @CheckReturnValue
    @NonNull
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Maybe<T> ambWith(MaybeSource<? extends T> other) {
        ObjectHelper.requireNonNull(other, "other is null");
        return ambArray(this, other);
    }
@ SuppressWarnings ( "unchecked" ) @ CheckReturnValue @ NonNull @ SchedulerSupport ( SchedulerSupport . NONE ) public final Maybe < T > ambWith ( MaybeSource < ? extends T > other ) { ObjectHelper . requireNonNull ( other , "other is null" ) ; return ambArray ( this , other ) ; }
Mirrors the MaybeSource (current or provided) that first signals an event.
<p>
<img width="640" height="385" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/amb.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code ambWith} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>

@param other
a MaybeSource competing to react first. A subscription to this provided source will occur after
subscribing to the current source.
@return a Maybe that emits the same sequence as whichever of the source MaybeSources first
signalled
@see <a href="http://reactivex.io/documentation/operators/amb.html">ReactiveX operators documentation: Amb</a>
Mirrors the MaybeSource ( current or provided ) that first signals an event . <p > <img width = 640 height = 385 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / amb . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > { @code ambWith } does not operate by default on a particular { @link Scheduler } . < / dd > < / dl >