JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 786
  • Score
    100M100P100Q98751F
  • License MIT

Applies the function iteratee to each item in coll, in parallel.

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