code: function repeat$2(count) {
      if (count === void 0) { count = -1; }
      if (count === 0) {
          return new EmptyObservable_1.EmptyObservable();
      }
      else if (count < 0) {
          return this.lift(new RepeatOperator(-1, this));
      }
      else {
          return this.lift(new RepeatOperator(count - 1, this));
      }
  }
docs: Returns an Observable that repeats the stream of items emitted by the source Observable at most count times,
  on a particular Scheduler.
  
  <img src="./img/repeat.png" width="100%">
  
  @param {Scheduler} [scheduler] the Scheduler to emit the items on.
  @param {number} [count] the number of times the source Observable items are repeated, a count of 0 will yield
  an empty Observable.
  @return {Observable} an Observable that repeats the stream of items emitted by the source Observable at most
  count times.
  @method repeat
  @owner Observable