summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPatrick Hogan <patrick@callinize.com>2016-03-13 22:18:33 -0700
committerPatrick Hogan <patrick@callinize.com>2016-03-13 22:18:33 -0700
commit3d7c16ba250e4b9ae360ad2d39d86e2cb7d10a72 (patch)
tree6d90296ce4e2e0b236e683c85a102054a86f5303 /README.md
parentde92ceee834617be9ae793b73b8034fba511bd62 (diff)
downloadasync-3d7c16ba250e4b9ae360ad2d39d86e2cb7d10a72.tar.gz
update readme - iteratee - callback(null, truthValue)
See https://github.com/caolan/async/pull/1060 - either that one is correct or this one is. Cannot both be true.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 734e1aa..1ce2fd2 100644
--- a/README.md
+++ b/README.md
@@ -612,7 +612,7 @@ __Arguments__
* `arr` - An array to iterate over.
* `iteratee(item, callback)` - A truth test to apply to each item in the array
- in parallel. The iteratee is passed a `callback(truthValue)`` which must be
+ in parallel. The iteratee is passed a `callback(err, truthValue)`` which must be
called with a boolean argument once it has completed.
* `callback(err, result)` - *Optional* A callback which is called as soon as any iteratee returns
`true`, or after all the iteratee functions have finished. Result will be