a zip code crypto-currency system good for red ONLY

publish.js 942B

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