Front end of the Slack clone application.

1234567891011121314151617181920
  1. "use strict";
  2. var repeat_1 = require('../operators/repeat');
  3. /**
  4. * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
  5. *
  6. * <img src="./img/repeat.png" width="100%">
  7. *
  8. * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield
  9. * an empty Observable.
  10. * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most
  11. * count times.
  12. * @method repeat
  13. * @owner Observable
  14. */
  15. function repeat(count) {
  16. if (count === void 0) { count = -1; }
  17. return repeat_1.repeat(count)(this);
  18. }
  19. exports.repeat = repeat;
  20. //# sourceMappingURL=repeat.js.map