Package Exports
- apr-for-each
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apr-for-each) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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