Continues iterating through the input iterator a certain number of times. When the input iterator is done it returns { done: true, value: undefined } first before resuming back to the beginning again.

Type Parameters

  • T

Implements

  • IterableIterator<T>

Constructors

Properties

Methods

Constructors

Properties

iterator: Iterator<T>
times: number
values: T[] = []

Methods