diff options
author | Patrick Hogan <patrick@callinize.com> | 2016-03-13 22:18:33 -0700 |
---|---|---|
committer | Patrick Hogan <patrick@callinize.com> | 2016-03-13 22:18:33 -0700 |
commit | 3d7c16ba250e4b9ae360ad2d39d86e2cb7d10a72 (patch) | |
tree | 6d90296ce4e2e0b236e683c85a102054a86f5303 /README.md | |
parent | de92ceee834617be9ae793b73b8034fba511bd62 (diff) | |
download | async-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.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |