1 line
7.4 KiB
JSON
1 line
7.4 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/mergeAll.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mergeAll.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/mergeAll.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":"./mergeMap","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mergeAll.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mergeMap.js"},{"name":"../util/identity","loc":{"line":3,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mergeAll.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/identity.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mergeAll = mergeAll;\n\nvar _mergeMap = require(\"./mergeMap\");\n\nvar _identity = require(\"../util/identity\");\n\n/** PURE_IMPORTS_START _mergeMap,_util_identity PURE_IMPORTS_END */\nfunction mergeAll(concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n\n return (0, _mergeMap.mergeMap)(_identity.identity, concurrent);\n}","map":{"mappings":[{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":28},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":28},"generated":{"line":13,"column":9}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":28},"generated":{"line":13,"column":17}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":28},"generated":{"line":13,"column":18}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":28},"generated":{"line":13,"column":28}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":60,"column":28},"generated":{"line":13,"column":30}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":14,"column":6}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":9},"generated":{"line":14,"column":16}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":24},"generated":{"line":14,"column":21}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":83},"generated":{"line":14,"column":26}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":14,"column":27}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":61,"column":85},"generated":{"line":14,"column":29}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":4}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":14}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":17}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":23}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":24}},{"source":"../../../src/internal/operators/mergeAll.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":15,"column":41}}],"sources":{"../../../src/internal/operators/mergeAll.ts":"\nimport { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nimport { MonoTypeOperatorFunction, OperatorFunction, ObservableInput } from '../types';\n\nexport function mergeAll<T>(concurrent?: number): OperatorFunction<ObservableInput<T>, T>;\n\n/**\n * Converts a higher-order Observable into a first-order Observable which\n * concurrently delivers all values that are emitted on the inner Observables.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables.</span>\n *\n * ![](mergeAll.png)\n *\n * `mergeAll` subscribes to an Observable that emits Observables, also known as\n * a higher-order Observable. Each time it observes one of these emitted inner\n * Observables, it subscribes to that and delivers all the values from the\n * inner Observable on the output Observable. The output Observable only\n * completes once all inner Observables have completed. Any error delivered by\n * a inner Observable will be immediately emitted on the output Observable.\n *\n * ## Examples\n * Spawn a new interval Observable for each click event, and blend their outputs as one Observable\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const higherOrder = clicks.pipe(map((ev) => interval(1000)));\n * const firstOrder = higherOrder.pipe(mergeAll());\n * firstOrder.subscribe(x => console.log(x));\n * ```\n *\n * Count from 0 to 9 every second for each click, but only allow 2 concurrent timers\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const higherOrder = clicks.pipe(\n * map((ev) => interval(1000).pipe(take(10))),\n * );\n * const firstOrder = higherOrder.pipe(mergeAll(2));\n * firstOrder.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link exhaust}\n * @see {@link merge}\n * @see {@link mergeMap}\n * @see {@link mergeMapTo}\n * @see {@link mergeScan}\n * @see {@link switchAll}\n * @see {@link switchMap}\n * @see {@link zipAll}\n *\n * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner\n * Observables being subscribed to concurrently.\n * @return {Observable} An Observable that emits values coming from all the\n * inner Observables emitted by the source Observable.\n * @method mergeAll\n * @owner Observable\n */\nexport function mergeAll<T>(concurrent: number = Number.POSITIVE_INFINITY): MonoTypeOperatorFunction<T> {\n return mergeMap<T, T>(identity as (value: T, index: number) => ObservableInput<T>, concurrent);\n}\n"},"lineCount":null}},"hash":"9d27fb567216655f7b62bf595698d679","cacheData":{"env":{}}} |