UI for Zipcoin Blue

1234567891011121314151617181920212223
  1. "use strict";
  2. var race_1 = require('../operators/race');
  3. // NOTE: to support backwards compatability with 5.4.* and lower
  4. var race_2 = require('../observable/race');
  5. exports.raceStatic = race_2.race;
  6. /* tslint:enable:max-line-length */
  7. /**
  8. * Returns an Observable that mirrors the first source Observable to emit an item
  9. * from the combination of this Observable and supplied Observables.
  10. * @param {...Observables} ...observables Sources used to race for which Observable emits first.
  11. * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item.
  12. * @method race
  13. * @owner Observable
  14. */
  15. function race() {
  16. var observables = [];
  17. for (var _i = 0; _i < arguments.length; _i++) {
  18. observables[_i - 0] = arguments[_i];
  19. }
  20. return race_1.race.apply(void 0, observables)(this);
  21. }
  22. exports.race = race;
  23. //# sourceMappingURL=race.js.map