a zip code crypto-currency system good for red ONLY

repeat.js 759B

12345678910111213141516171819202122
  1. /** PURE_IMPORTS_START .._operators_repeat PURE_IMPORTS_END */
  2. import { repeat as higherOrder } from '../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. export function repeat(count) {
  16. if (count === void 0) {
  17. count = -1;
  18. }
  19. return higherOrder(count)(this);
  20. }
  21. //# sourceMappingURL=repeat.js.map