src/main/java/io/reactivex/Maybe.java
@CheckReturnValue
    @NonNull
    @SchedulerSupport(SchedulerSupport.NONE)
    public static <T> Maybe<T> amb(final Iterable<? extends MaybeSource<? extends T>> sources) {
        ObjectHelper.requireNonNull(sources, "sources is null");
        return RxJavaPlugins.onAssembly(new MaybeAmb<T>(null, sources));
    }
@CheckReturnValue
    @NonNull
    @SchedulerSupport(SchedulerSupport.NONE)
    public static <T> Maybe<T> amb(final Iterable<? extends MaybeSource<? extends T>> sources) {
        ObjectHelper.requireNonNull(sources, "sources is null");
        return RxJavaPlugins.onAssembly(new MaybeAmb<T>(null, sources));
    }
@ CheckReturnValue @ NonNull @ SchedulerSupport ( SchedulerSupport . NONE ) public static < T > Maybe < T > amb ( final Iterable < ? extends MaybeSource < ? extends T > > sources ) { ObjectHelper . requireNonNull ( sources , "sources is null" ) ; return RxJavaPlugins . onAssembly ( new MaybeAmb < T > ( null , sources ) ) ; }
Runs multiple MaybeSources and signals the events of the first one that signals (disposing
the rest).
<p>
<img width="640" height="519" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.amb.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code amb} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>
@param <T> the value type
@param sources the Iterable sequence of sources. A subscription to each source will
occur in the same order as in the Iterable.
@return the new Maybe instance
Runs multiple MaybeSources and signals the events of the first one that signals ( disposing the rest ) . <p > <img width = 640 height = 519 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / Maybe . amb . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > {