Rx.Observable.amb(...args)
Propagates the observable sequence or Promise that reacts first. "amb" stands for ambiguous.
Arguments
args
(Array|arguments): Observable sources or Promises competing to react first either as an array or arguments.
Returns
(Observable
): An observable sequence that surfaces any of the given sequences, whichever reacted first.