a zip code crypto-currency system good for red ONLY

publish.js 968B

123456789101112131415161718192021
  1. "use strict";
  2. var publish_1 = require('../operators/publish');
  3. /* tslint:enable:max-line-length */
  4. /**
  5. * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called
  6. * before it begins emitting items to those Observers that have subscribed to it.
  7. *
  8. * <img src="./img/publish.png" width="100%">
  9. *
  10. * @param {Function} [selector] - Optional selector function which can use the multicasted source sequence as many times
  11. * as needed, without causing multiple subscriptions to the source sequence.
  12. * Subscribers to the given source will receive all notifications of the source from the time of the subscription on.
  13. * @return A ConnectableObservable that upon connection causes the source Observable to emit items to its Observers.
  14. * @method publish
  15. * @owner Observable
  16. */
  17. function publish(selector) {
  18. return publish_1.publish(selector)(this);
  19. }
  20. exports.publish = publish;
  21. //# sourceMappingURL=publish.js.map