()
| 496 | } |
| 497 | |
| 498 | async next(): Promise<IteratorResult<T>> { |
| 499 | if (this.trav >= this.items.length) { |
| 500 | return {value: null, done: true}; |
| 501 | } |
| 502 | const item = this.items[this.trav]; |
| 503 | this.trav++; |
| 504 | return {value: deepClone(item), done: false}; |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | class FunctionCallIterator<T> extends LazyIterator<T> { |
nothing calls this directly
no test coverage detected