summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McNeil <mikermcneil@users.noreply.github.com>2016-10-13 22:46:00 -0500
committerGitHub <noreply@github.com>2016-10-13 22:46:00 -0500
commitf321fe835fabc93896d0b0bcb0a350f1d2f45c69 (patch)
tree6bf3d95047dabd4cee78cfacb66cc77b76268e75
parent87185be19b01cc824e8ca3270d5516920d3c6e8e (diff)
downloadasync-f321fe835fabc93896d0b0bcb0a350f1d2f45c69.tar.gz
update docs for mapValueEach
same as https://github.com/caolan/async/pull/1304/commits/7a252d05bca5e1cd8d6bb6ce2a70942806fe1a2f but for `mapValuesLimit`
-rw-r--r--lib/mapValuesLimit.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mapValuesLimit.js b/lib/mapValuesLimit.js
index f6e72ff..6c9fe06 100644
--- a/lib/mapValuesLimit.js
+++ b/lib/mapValuesLimit.js
@@ -20,8 +20,9 @@ import once from './internal/once';
* once it has completed with an error (which can be `null`) and a
* transformed value. Invoked with (value, key, callback).
* @param {Function} [callback] - A callback which is called when all `iteratee`
- * functions have finished, or an error occurs. Result is an object of the
- * transformed values from the `obj`. Invoked with (err, result).
+ * functions have finished, or an error occurs. `result` is a new object consisting
+ * of each key from `obj`, with each transformed value on the right-hand side.
+ * Invoked with (err, result).
*/
export default function mapValuesLimit(obj, limit, iteratee, callback) {
callback = once(callback || noop);