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.

publish.js 420B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var Subject_1 = require("../Subject");
  4. var multicast_1 = require("./multicast");
  5. function 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. }
  10. exports.publish = publish;
  11. //# sourceMappingURL=publish.js.map