amb

fun <T> Iterable<Single<T>>.amb(): Single<T>

Runs multiple Singles and signals the events of the first one to terminate (disposing the rest).

Please refer to the corresponding RxJava document.


fun <T> amb(vararg sources: Single<T>): Single<T>

Runs multiple Singles and signals the events of the first one (disposing the rest).

Please refer to the corresponding RxJava document.