- series<T, R>(array, action): Promise<R[]>
Parameters
- array: readonly T[]
- action: ((item: T, index: number, arr: readonly T[], results: readonly R[]) => Promise<R>)
- (item, index, arr, results): Promise<R>
Parameters
- item: T
- index: number
- arr: readonly T[]
- results: readonly R[]
Returns Promise<R>
Returns Promise<R[]>
Performs an asynchronous operation sequentially on all elements of an array