diff options
Diffstat (limited to 'build-es/eachLimit.js')
-rw-r--r-- | build-es/eachLimit.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build-es/eachLimit.js b/build-es/eachLimit.js new file mode 100644 index 0000000..5009cc3 --- /dev/null +++ b/build-es/eachLimit.js @@ -0,0 +1,9 @@ +'use strict'; + +import eachOfLimit from './internal/eachOfLimit'; +import withoutIndex from './internal/withoutIndex'; + + +export default function eachLimit(arr, limit, iterator, cb) { + return eachOfLimit(limit)(arr, withoutIndex(iterator), cb); +} |