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, any, any>
times: number
values: T[] = []

Methods

  • Returns IterableIterator<T, any, any>

  • Parameters

    • Rest...args: any[]

    Returns IteratorResult<T, any>