apr-for-each
v3.0.3
Published
Applies the function iteratee to each item in coll, in parallel.
Downloads
3,480
Maintainers
Readme
for-each
Applies the function iteratee
to each item in coll
, in parallel.
Parameters
Examples
import awaitify from 'apr-awaitify';
import forEach from 'apr-for-each';
const writeFile = awaitify(fs.writeFile);
const files = [
'/home/.vimrc',
'/home/.zshrc'
];
await forEach(files, async (file) =>
await writeFile(file, 'boom')
);
Returns Promise
series
Parameters
Returns Promise
limit
Parameters
Returns Promise