source: trip-planner-front/node_modules/rxjs/internal/operators/race.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 640 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var isArray_1 = require("../util/isArray");
4var race_1 = require("../observable/race");
5function race() {
6 var observables = [];
7 for (var _i = 0; _i < arguments.length; _i++) {
8 observables[_i] = arguments[_i];
9 }
10 return function raceOperatorFunction(source) {
11 if (observables.length === 1 && isArray_1.isArray(observables[0])) {
12 observables = observables[0];
13 }
14 return source.lift.call(race_1.race.apply(void 0, [source].concat(observables)));
15 };
16}
17exports.race = race;
18//# sourceMappingURL=race.js.map
Note: See TracBrowser for help on using the repository browser.