Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

share.js 463B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var multicast_1 = require("./multicast");
  4. var refCount_1 = require("./refCount");
  5. var Subject_1 = require("../Subject");
  6. function shareSubjectFactory() {
  7. return new Subject_1.Subject();
  8. }
  9. function share() {
  10. return function (source) { return refCount_1.refCount()(multicast_1.multicast(shareSubjectFactory)(source)); };
  11. }
  12. exports.share = share;
  13. //# sourceMappingURL=share.js.map