webdetector/.cache/f6/fd06f7b39975898e4af7062d2785c9.json
2018-12-21 13:36:28 +01:00

1 line
18 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/observable/concat.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/concat.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/isScheduler","loc":{"line":2,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isScheduler.js"},{"name":"./of","loc":{"line":3,"column":19},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/of.js"},{"name":"./from","loc":{"line":4,"column":21},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js"},{"name":"../operators/concatAll","loc":{"line":5,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/concatAll.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.concat = concat;\n\nvar _isScheduler = require(\"../util/isScheduler\");\n\nvar _of = require(\"./of\");\n\nvar _from = require(\"./from\");\n\nvar _concatAll = require(\"../operators/concatAll\");\n\n/** PURE_IMPORTS_START _util_isScheduler,_of,_from,_operators_concatAll PURE_IMPORTS_END */\nfunction concat() {\n var observables = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n\n if (observables.length === 1 || observables.length === 2 && (0, _isScheduler.isScheduler)(observables[1])) {\n return (0, _from.from)(observables[0]);\n }\n\n return (0, _concatAll.concatAll)()(_of.of.apply(void 0, observables));\n}","map":{"mappings":[{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":17,"column":15}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":88},"generated":{"line":17,"column":18}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":88},"generated":{"line":18,"column":17}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":18,"column":20}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":7}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":11}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":13}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":16}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":19}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":21}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":24}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":33}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":29},"generated":{"line":20,"column":34}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":88},"generated":{"line":20,"column":42}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":88},"generated":{"line":20,"column":44}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":116,"column":88},"generated":{"line":20,"column":48}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":117,"column":2},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":4},"generated":{"line":24,"column":6}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":15},"generated":{"line":24,"column":17}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":21},"generated":{"line":24,"column":18}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":4},"generated":{"line":24,"column":24}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":32},"generated":{"line":24,"column":29}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":4},"generated":{"line":24,"column":30}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":34}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":45}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":46}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":52}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":57}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":58}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":62}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":92}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":103}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":104}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":105}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":106}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":118,"column":37},"generated":{"line":24,"column":109}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":11}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":27}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":38}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":39}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":40}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":41}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":25,"column":42}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":120,"column":2},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":9}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":37}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":44}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":49}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":50}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":55}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":56}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":58}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":69}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":70}},{"source":"../../../src/internal/observable/concat.ts","name":null,"original":{"line":121,"column":1},"generated":{"line":28,"column":71}}],"sources":{"../../../src/internal/observable/concat.ts":"import { Observable } from '../Observable';\nimport { ObservableInput, SchedulerLike } from '../types';\nimport { isScheduler } from '../util/isScheduler';\nimport { of } from './of';\nimport { from } from './from';\nimport { concatAll } from '../operators/concatAll';\n\n/* tslint:disable:max-line-length */\nexport function concat<T>(v1: ObservableInput<T>, scheduler?: SchedulerLike): Observable<T>;\nexport function concat<T, T2>(v1: ObservableInput<T>, v2: ObservableInput<T2>, scheduler?: SchedulerLike): Observable<T | T2>;\nexport function concat<T, T2, T3>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, scheduler?: SchedulerLike): Observable<T | T2 | T3>;\nexport function concat<T, T2, T3, T4>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, scheduler?: SchedulerLike): Observable<T | T2 | T3 | T4>;\nexport function concat<T, T2, T3, T4, T5>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, scheduler?: SchedulerLike): Observable<T | T2 | T3 | T4 | T5>;\nexport function concat<T, T2, T3, T4, T5, T6>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>, scheduler?: SchedulerLike): Observable<T | T2 | T3 | T4 | T5 | T6>;\nexport function concat<T>(...observables: (ObservableInput<T> | SchedulerLike)[]): Observable<T>;\nexport function concat<T, R>(...observables: (ObservableInput<any> | SchedulerLike)[]): Observable<R>;\n/* tslint:enable:max-line-length */\n/**\n * Creates an output Observable which sequentially emits all values from given\n * Observable and then moves on to the next.\n *\n * <span class=\"informal\">Concatenates multiple Observables together by\n * sequentially emitting their values, one Observable after the other.</span>\n *\n * ![](concat.png)\n *\n * `concat` joins multiple Observables together, by subscribing to them one at a time and\n * merging their results into the output Observable. You can pass either an array of\n * Observables, or put them directly as arguments. Passing an empty array will result\n * in Observable that completes immediately.\n *\n * `concat` will subscribe to first input Observable and emit all its values, without\n * changing or affecting them in any way. When that Observable completes, it will\n * subscribe to then next Observable passed and, again, emit its values. This will be\n * repeated, until the operator runs out of Observables. When last input Observable completes,\n * `concat` will complete as well. At any given moment only one Observable passed to operator\n * emits values. If you would like to emit values from passed Observables concurrently, check out\n * {@link merge} instead, especially with optional `concurrent` parameter. As a matter of fact,\n * `concat` is an equivalent of `merge` operator with `concurrent` parameter set to `1`.\n *\n * Note that if some input Observable never completes, `concat` will also never complete\n * and Observables following the one that did not complete will never be subscribed. On the other\n * hand, if some Observable simply completes immediately after it is subscribed, it will be\n * invisible for `concat`, which will just move on to the next Observable.\n *\n * If any Observable in chain errors, instead of passing control to the next Observable,\n * `concat` will error immediately as well. Observables that would be subscribed after\n * the one that emitted error, never will.\n *\n * If you pass to `concat` the same Observable many times, its stream of values\n * will be \"replayed\" on every subscription, which means you can repeat given Observable\n * as many times as you like. If passing the same Observable to `concat` 1000 times becomes tedious,\n * you can always use {@link repeat}.\n *\n * ## Examples\n * ### Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10\n * ```javascript\n * const timer = interval(1000).pipe(take(4));\n * const sequence = range(1, 10);\n * const result = concat(timer, sequence);\n * result.subscribe(x => console.log(x));\n *\n * // results in:\n * // 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10\n * ```\n *\n * ### Concatenate an array of 3 Observables\n * ```javascript\n * const timer1 = interval(1000).pipe(take(10));\n * const timer2 = interval(2000).pipe(take(6));\n * const timer3 = interval(500).pipe(take(10));\n * const result = concat([timer1, timer2, timer3]); // note that array is passed\n * result.subscribe(x => console.log(x));\n *\n * // results in the following:\n * // (Prints to console sequentially)\n * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9\n * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5\n * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9\n * ```\n *\n * ### Concatenate the same Observable to repeat it\n * ```javascript\n * const timer = interval(1000).pipe(take(2));\n * *\n * concat(timer, timer) // concatenating the same Observable!\n * .subscribe(\n * value => console.log(value),\n * err => {},\n * () => console.log('...and it is done!')\n * );\n *\n * // Logs:\n * // 0 after 1s\n * // 1 after 2s\n * // 0 after 3s\n * // 1 after 4s\n * // \"...and it is done!\" also after 4s\n * ```\n *\n * @see {@link concatAll}\n * @see {@link concatMap}\n * @see {@link concatMapTo}\n *\n * @param {ObservableInput} input1 An input Observable to concatenate with others.\n * @param {ObservableInput} input2 An input Observable to concatenate with others.\n * More than one input Observables may be given as argument.\n * @param {SchedulerLike} [scheduler=null] An optional {@link SchedulerLike} to schedule each\n * Observable subscription on.\n * @return {Observable} All values of each passed Observable merged into a\n * single Observable, in order, in serial fashion.\n * @static true\n * @name concat\n * @owner Observable\n */\nexport function concat<T, R>(...observables: Array<ObservableInput<any> | SchedulerLike>): Observable<R> {\n if (observables.length === 1 || (observables.length === 2 && isScheduler(observables[1]))) {\n return from(<any>observables[0]);\n }\n return concatAll<R>()(of(...observables));\n}\n"},"lineCount":null}},"hash":"c336e59880eece23eb4252c524793271","cacheData":{"env":{}}}