summaryrefslogtreecommitdiff
path: root/lib/map.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/map.js')
-rw-r--r--lib/map.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/map.js b/lib/map.js
index eecab03..4c0b226 100644
--- a/lib/map.js
+++ b/lib/map.js
@@ -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);