all-each
v0.0.2
Published
Utility to run promise parallel.
Downloads
8
Readme
all-each
Utility to run promise parallel.
To install package:
npm install all-eachUsage
import allEach from 'all-each';
allEach(
[1, 2, 3]
0,
async (item, idx) => console.log(idx, item),
)Docs
limiter- count of concurrencyarr- list of items to iteratecallback- async callback (item, idx) => Promise;getDelay- fn with dynamic delaying execution of promises
Deploy
To install dependencies:
npm installTo build:
npm buildThis project was created using bun init in bun v1.1.0. Bun is a fast all-in-one JavaScript runtime.
