source: trip-planner-front/node_modules/rxjs/internal/operators/share.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 462 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var multicast_1 = require("./multicast");
4var refCount_1 = require("./refCount");
5var Subject_1 = require("../Subject");
6function shareSubjectFactory() {
7 return new Subject_1.Subject();
8}
9function share() {
10 return function (source) { return refCount_1.refCount()(multicast_1.multicast(shareSubjectFactory)(source)); };
11}
12exports.share = share;
13//# sourceMappingURL=share.js.map
Note: See TracBrowser for help on using the repository browser.