diff options
author | Graeme Yeates <yeatesgraeme@gmail.com> | 2016-07-20 19:19:38 -0400 |
---|---|---|
committer | Graeme Yeates <yeatesgraeme@gmail.com> | 2016-07-20 19:39:07 -0400 |
commit | aa5673e23d5f84c954c576a91ca84b8e6b1604f1 (patch) | |
tree | a72bb49fe6350912be570aaffedba22bcfe657cc /lib/map.js | |
parent | ddef4334de9a654d9b34a3faed5eaa37b673d414 (diff) | |
download | async-aa5673e23d5f84c954c576a91ca84b8e6b1604f1.tar.gz |
Add a fast path for eachOffast-path-eachOf
Diffstat (limited to 'lib/map.js')
-rw-r--r-- | lib/map.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ -import mapLimit from './mapLimit'; -import doLimit from './internal/doLimit'; +import doParallel from './internal/doParallel'; +import map from './internal/map'; /** * Produces a new collection of values by mapping each value in `coll` through @@ -37,4 +37,4 @@ import doLimit from './internal/doLimit'; * // results is now an array of stats for each file * }); */ -export default doLimit(mapLimit, Infinity); +export default doParallel(map); |