source: trip-planner-front/node_modules/rxjs/internal/operators/publish.js@ bdd6491

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

initial commit

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