1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/race.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/race.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/race.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../util/isArray","loc":{"line":2,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"../observable/race","loc":{"line":3,"column":35},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.race = race;\n\nvar _isArray = require(\"../util/isArray\");\n\nvar _race = require(\"../observable/race\");\n\n/** PURE_IMPORTS_START _util_isArray,_observable_race PURE_IMPORTS_END */\nfunction race() {\n var observables = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n\n return function raceOperatorFunction(source) {\n if (observables.length === 1 && (0, _isArray.isArray)(observables[0])) {\n observables = observables[0];\n }\n\n return source.lift.call(_race.race.apply(void 0, [source].concat(observables)));\n };\n}","map":{"mappings":[{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":13,"column":9}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":13,"column":13}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":13,"column":16}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":83},"generated":{"line":14,"column":17}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":14,"column":20}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":7}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":11}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":13}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":16}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":19}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":21}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":24}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":33}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":24},"generated":{"line":16,"column":34}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":83},"generated":{"line":16,"column":42}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":83},"generated":{"line":16,"column":44}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":26,"column":83},"generated":{"line":16,"column":48}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":27,"column":2},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":20,"column":9}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":30,"column":8},"generated":{"line":20,"column":18}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":20,"column":38}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":30,"column":36},"generated":{"line":20,"column":39}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":20,"column":45}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":30,"column":44},"generated":{"line":20,"column":47}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":21,"column":8}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":17},"generated":{"line":21,"column":19}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":17},"generated":{"line":21,"column":20}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":21,"column":26}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":42},"generated":{"line":21,"column":31}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":6},"generated":{"line":21,"column":32}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":56},"generated":{"line":21,"column":36}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":57},"generated":{"line":21,"column":58}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":57},"generated":{"line":21,"column":69}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":57},"generated":{"line":21,"column":70}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":57},"generated":{"line":21,"column":71}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":56},"generated":{"line":21,"column":72}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":31,"column":57},"generated":{"line":21,"column":75}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":6}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":17}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":20}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":31}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":32}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":33}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":32,"column":5},"generated":{"line":22,"column":34}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":11}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":17}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":18}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":22}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":23}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":27}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":28}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":39}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":44}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":45}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":50}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":51}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":53}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":54}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":60}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":62}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":68}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":69}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":80}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":81}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":82}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":25,"column":83}},{"source":"../../../src/internal/operators/race.ts","name":null,"original":{"line":36,"column":1},"generated":{"line":26,"column":0}}],"sources":{"../../../src/internal/operators/race.ts":"import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { MonoTypeOperatorFunction, OperatorFunction } from '../types';\nimport { race as raceStatic } from '../observable/race';\n\n/* tslint:disable:max-line-length */\n/** @deprecated Deprecated in favor of static race. */\nexport function race<T>(observables: Array<Observable<T>>): MonoTypeOperatorFunction<T>;\n/** @deprecated Deprecated in favor of static race. */\nexport function race<T, R>(observables: Array<Observable<T>>): OperatorFunction<T, R>;\n/** @deprecated Deprecated in favor of static race. */\nexport function race<T>(...observables: Array<Observable<T> | Array<Observable<T>>>): MonoTypeOperatorFunction<T>;\n/** @deprecated Deprecated in favor of static race. */\nexport function race<T, R>(...observables: Array<Observable<any> | Array<Observable<any>>>): OperatorFunction<T, R>;\n/* tslint:enable:max-line-length */\n\n/**\n * Returns an Observable that mirrors the first source Observable to emit an item\n * from the combination of this Observable and supplied Observables.\n * @param {...Observables} ...observables Sources used to race for which Observable emits first.\n * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item.\n * @method race\n * @owner Observable\n * @deprecated Deprecated in favor of static {@link race}.\n */\nexport function race<T>(...observables: Array<Observable<T> | Array<Observable<T>>>): MonoTypeOperatorFunction<T> {\n return function raceOperatorFunction(source: Observable<T>) {\n // if the only argument is an array, it was most likely called with\n // `pair([obs1, obs2, ...])`\n if (observables.length === 1 && isArray(observables[0])) {\n observables = <Array<Observable<T>>>observables[0];\n }\n\n return source.lift.call(raceStatic<T>(source, ...observables));\n };\n}\n"},"lineCount":null}},"hash":"777a6ab942bac1919aef3ec11d8cb26a","cacheData":{"env":{}}} |