summaryrefslogtreecommitdiff
path: root/lib/mapLimit.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mapLimit.js')
-rw-r--r--lib/mapLimit.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/mapLimit.js b/lib/mapLimit.js
index b773d58..1d3d3b2 100644
--- a/lib/mapLimit.js
+++ b/lib/mapLimit.js
@@ -2,13 +2,16 @@ import doParallelLimit from './internal/doParallelLimit';
import map from './internal/map';
/**
- * The same as `map` but runs a maximum of `limit` async operations at a time.
+ * ```
+ * import mapLimit from 'async/mapLimit'
+ * ```
+ * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time.
*
* @name mapLimit
* @static
- * @memberOf module:async
+ * @memberOf module:Collections
* @method
- * @see [async.map]{@link module:async.map}
+ * @see [async.map]{@link module:Collections.map}
* @category Collection
* @param {Array|Object} coll - A collection to iterate over.
* @param {number} limit - The maximum number of async operations at a time.