summaryrefslogtreecommitdiff
path: root/lib/detectLimit.js
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2016-07-12 16:51:15 -0400
committerGraeme Yeates <yeatesgraeme@gmail.com>2016-07-12 16:51:15 -0400
commit548ae8db6383059f493d8bcb88cbc3d1c4b2f315 (patch)
treed9fcf5b44970d797d53e6c2ad755b2719d8e9b36 /lib/detectLimit.js
parenta46e3b788d4d4b5bb0efb7df39fc662053b6c87f (diff)
downloadasync-548ae8db6383059f493d8bcb88cbc3d1c4b2f315.tar.gz
Document methods which take iterables
Diffstat (limited to 'lib/detectLimit.js')
-rw-r--r--lib/detectLimit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/detectLimit.js b/lib/detectLimit.js
index da54bd6..cefff55 100644
--- a/lib/detectLimit.js
+++ b/lib/detectLimit.js
@@ -15,7 +15,7 @@ import findGetResult from './internal/findGetResult';
* @see [async.detect]{@link module:Collections.detect}
* @alias findLimit
* @category Collections
- * @param {Array|Object} coll - A collection to iterate over.
+ * @param {Array|Iterable|Object} coll - A collection to iterate over.
* @param {number} limit - The maximum number of async operations at a time.
* @param {Function} iteratee - A truth test to apply to each item in `coll`.
* The iteratee is passed a `callback(err, truthValue)` which must be called