Rx.Observable.prototype.amb(rightSource)

</rx-marbles>

Propagates the observable sequence or Promise that reacts first. "amb" stands for ambiguous.

Arguments

  1. rightSource (Observable): Second observable sequence.

Returns

(Observable): An observable sequence that surfaces either of the given sequences, whichever reacted first.

Example