Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

share.js 462B

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