repeat.d.ts 613B

123456789101112131415
  1. import { MonoTypeOperatorFunction } from '../interfaces';
  2. /**
  3. * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
  4. *
  5. * <img src="./img/repeat.png" width="100%">
  6. *
  7. * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield
  8. * an empty Observable.
  9. * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most
  10. * count times.
  11. * @method repeat
  12. * @owner Observable
  13. */
  14. export declare function repeat<T>(count?: number): MonoTypeOperatorFunction<T>;