Module helpers/cuncurrentIterator
Functions
cuncurrentIterator
- cuncurrentIterator<TItem, TData>(items: TItem[], handler: IteratorHandler<TItem, TData>, concurrency?: number): { [Symbol.asyncIterator]: any }
-
Type parameters
Parameters
-
items: TItem[]
-
handler: IteratorHandler<TItem, TData>
-
concurrency: number = ...
Returns { [Symbol.asyncIterator]: any }
-
[Symbol.asyncIterator]: function
- [Symbol.asyncIterator](): AsyncGenerator<TData, void, undefined>
-
Returns AsyncGenerator<TData, void, undefined>