webdetector/.cache/91/63a9423ee24a24fbb73be0ba23433d.json
2018-12-21 13:36:28 +01:00

1 line
7.4 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/operators/share.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/share.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/share.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":"./multicast","loc":{"line":2,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/share.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/multicast.js"},{"name":"./refCount","loc":{"line":3,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/share.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/refCount.js"},{"name":"../Subject","loc":{"line":4,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/share.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subject.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.share = share;\n\nvar _multicast = require(\"./multicast\");\n\nvar _refCount = require(\"./refCount\");\n\nvar _Subject = require(\"../Subject\");\n\n/** PURE_IMPORTS_START _multicast,_refCount,_Subject PURE_IMPORTS_END */\nfunction shareSubjectFactory() {\n return new _Subject.Subject();\n}\n\nfunction share() {\n return function (source) {\n return (0, _refCount.refCount)()((0, _multicast.multicast)(shareSubjectFactory)(source));\n };\n}","map":{"mappings":[{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":9,"column":2},"generated":{"line":15,"column":9}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":9,"column":23},"generated":{"line":15,"column":31}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":10,"column":1},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":10,"column":1},"generated":{"line":16,"column":9}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":10,"column":1},"generated":{"line":16,"column":13}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":10,"column":1},"generated":{"line":16,"column":29}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":10,"column":1},"generated":{"line":16,"column":31}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":24,"column":0},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":25,"column":2},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":25,"column":9},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":25,"column":2},"generated":{"line":19,"column":14}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":25,"column":10},"generated":{"line":19,"column":17}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":20,"column":9}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":20,"column":19}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":20,"column":25}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":20,"column":27}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":11}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":37}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":63}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":82}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":84}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":90}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":91}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":21,"column":92}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/operators/share.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":22,"column":3}}],"sources":{"../../../src/internal/operators/share.ts":"import { Observable } from '../Observable';\nimport { multicast } from './multicast';\nimport { refCount } from './refCount';\nimport { Subject } from '../Subject';\n\nimport { MonoTypeOperatorFunction } from '../types';\n\nfunction shareSubjectFactory() {\n return new Subject();\n}\n\n/**\n * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one\n * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will\n * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`.\n * This is an alias for `multicast(() => new Subject()), refCount()`.\n *\n * ![](share.png)\n *\n * @return {Observable<T>} An Observable that upon connection causes the source Observable to emit items to its Observers.\n * @method share\n * @owner Observable\n */\nexport function share<T>(): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => refCount()(multicast(shareSubjectFactory)(source)) as Observable<T>;\n}\n"},"lineCount":null}},"hash":"344da3ca0cc109d0b943c0574987276c","cacheData":{"env":{}}}