Rx.Observable.prototype.amb(rightSource)
Propagates the observable sequence or Promise that reacts first. "amb" stands for ambiguous.
Arguments
rightSource
(Observable
): Second observable sequence.
Returns
(Observable
): An observable sequence that surfaces either of the given sequences, whichever reacted first.