UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

4 lines (3 loc) 107 B
export function mapParallelAsync(fn) { return async list => Promise.all(list.map((x, i) => fn(x, i))) }