js-util

Home > rc-js-util > _Iterator

_Iterator class

Utilities relating to IterableIterator & generators.

Signature:

export declare class _Iterator 

Properties

Property Modifiers Type Description
consumeAll static typeof iteratorConsumeAll Iterate over an iterator until it’s done, discarding the results.
emptyIterator static IterableIterator<any> & { result: { done: true; value: any; }; } An iterator that is done.