1 line
7.4 KiB
JSON
1 line
7.4 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/concatMapTo.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/concatMapTo.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":"./concatMap","loc":{"line":2,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/concatMap.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.concatMapTo = concatMapTo;\n\nvar _concatMap = require(\"./concatMap\");\n\n/** PURE_IMPORTS_START _concatMap PURE_IMPORTS_END */\nfunction concatMapTo(innerObservable, resultSelector) {\n return (0, _concatMap.concatMap)(function () {\n return innerObservable;\n }, resultSelector);\n}","map":{"mappings":[{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":65,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":9},"generated":{"line":11,"column":9}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":11,"column":20}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":19},"generated":{"line":11,"column":21}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":11,"column":36}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":25},"generated":{"line":11,"column":38}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":11,"column":52}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":69,"column":40},"generated":{"line":11,"column":54}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":12,"column":35}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":12,"column":47}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":13,"column":11}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":13,"column":26}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":14,"column":3}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":14,"column":5}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":14,"column":19}},{"source":"../../../src/internal/operators/concatMapTo.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":14,"column":20}}],"sources":{"../../../src/internal/operators/concatMapTo.ts":"import { concatMap } from './concatMap';\nimport { ObservableInput, OperatorFunction } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function concatMapTo<T>(observable: ObservableInput<T>): OperatorFunction<any, T>;\n/** @deprecated */\nexport function concatMapTo<T>(observable: ObservableInput<T>, resultSelector: undefined): OperatorFunction<any, T>;\n/** @deprecated */\nexport function concatMapTo<T, I, R>(observable: ObservableInput<I>, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): OperatorFunction<T, R>;\n/* tslint:enable:max-line-length */\n\n/**\n * Projects each source value to the same Observable which is merged multiple\n * times in a serialized fashion on the output Observable.\n *\n * <span class=\"informal\">It's like {@link concatMap}, but maps each value\n * always to the same inner Observable.</span>\n *\n * ![](concatMapTo.png)\n *\n * Maps each source value to the given Observable `innerObservable` regardless\n * of the source value, and then flattens those resulting Observables into one\n * single Observable, which is the output Observable. Each new `innerObservable`\n * instance emitted on the output Observable is concatenated with the previous\n * `innerObservable` instance.\n *\n * __Warning:__ if source values arrive endlessly and faster than their\n * corresponding inner Observables can complete, it will result in memory issues\n * as inner Observables amass in an unbounded buffer waiting for their turn to\n * be subscribed to.\n *\n * Note: `concatMapTo` is equivalent to `mergeMapTo` with concurrency parameter\n * set to `1`.\n *\n * ## Example\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 result = clicks.pipe(\n * concatMapTo(interval(1000).pipe(take(4))),\n * );\n * result.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 concat}\n * @see {@link concatAll}\n * @see {@link concatMap}\n * @see {@link mergeMapTo}\n * @see {@link switchMapTo}\n *\n * @param {ObservableInput} innerObservable An Observable to replace each value from\n * the source Observable.\n * @return {Observable} An observable of values merged together by joining the\n * passed observable with itself, one after the other, for each value emitted\n * from the source.\n * @method concatMapTo\n * @owner Observable\n */\nexport function concatMapTo<T, I, R>(\n innerObservable: ObservableInput<I>,\n resultSelector?: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R\n): OperatorFunction<T, R> {\n return concatMap(() => innerObservable, resultSelector);\n}\n"},"lineCount":null}},"hash":"14aa0cd7db6f549ff9bb936e62552737","cacheData":{"env":{}}} |