Home > rc-js-util > iteratorConsumeAll
Iterate over an iterator until it’s done, discarding the results.
Signature:
export declare function iteratorConsumeAll(iterator: IterableIterator<unknown>): void;
Parameter | Type | Description |
---|---|---|
iterator | IterableIterator<unknown> |
Returns:
void