1 line
5.1 KiB
JSON
1 line
5.1 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/concatAll.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/concatAll.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/concatAll.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":"./mergeAll","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/concatAll.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mergeAll.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.concatAll = concatAll;\n\nvar _mergeAll = require(\"./mergeAll\");\n\n/** PURE_IMPORTS_START _mergeAll PURE_IMPORTS_END */\nfunction concatAll() {\n return (0, _mergeAll.mergeAll)(1);\n}","map":{"mappings":[{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":63,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":64,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":64,"column":9},"generated":{"line":11,"column":9}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":64,"column":2},"generated":{"line":11,"column":18}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":64,"column":24},"generated":{"line":11,"column":21}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":12,"column":33}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":12,"column":34}},{"source":"../../../src/internal/operators/concatAll.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":12,"column":35}}],"sources":{"../../../src/internal/operators/concatAll.ts":"\nimport { mergeAll } from './mergeAll';\nimport { OperatorFunction, ObservableInput } from '../types';\n\nexport function concatAll<T>(): OperatorFunction<ObservableInput<T>, T>;\nexport function concatAll<R>(): OperatorFunction<any, R>;\n\n/**\n * Converts a higher-order Observable into a first-order Observable by\n * concatenating the inner Observables in order.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by putting one\n * inner Observable after the other.</span>\n *\n * ![](concatAll.png)\n *\n * Joins every Observable emitted by the source (a higher-order Observable), in\n * a serial fashion. It subscribes to each inner Observable only after the\n * previous inner Observable has completed, and merges all of their values into\n * the returned observable.\n *\n * __Warning:__ If the source Observable emits Observables quickly and\n * endlessly, and the inner Observables it emits generally complete slower than\n * the source emits, you can run into memory issues as the incoming Observables\n * collect in an unbounded buffer.\n *\n * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set\n * to `1`.\n *\n * ## Example\n *\n * For each click event, tick every second from 0 to 3, with no concurrency\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const higherOrder = clicks.pipe(\n * map(ev => interval(1000).pipe(take(4))),\n * );\n * const firstOrder = higherOrder.pipe(concatAll());\n * firstOrder.subscribe(x => console.log(x));\n *\n * // Results in the following:\n * // (results are not concurrent)\n * // For every click on the \"document\" it will emit values 0 to 3 spaced\n * // on a 1000ms interval\n * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3\n * ```\n *\n * @see {@link combineAll}\n * @see {@link concat}\n * @see {@link concatMap}\n * @see {@link concatMapTo}\n * @see {@link exhaust}\n * @see {@link mergeAll}\n * @see {@link switchAll}\n * @see {@link switchMap}\n * @see {@link zipAll}\n *\n * @return {Observable} An Observable emitting values from all the inner\n * Observables concatenated.\n * @method concatAll\n * @owner Observable\n */\nexport function concatAll<T>(): OperatorFunction<ObservableInput<T>, T> {\n return mergeAll<T>(1);\n}\n"},"lineCount":null}},"hash":"f5d343cf7615c7db0aca4249951211a4","cacheData":{"env":{}}} |