diff options
author | Alexander Early <alexander.early@gmail.com> | 2015-12-02 13:06:08 -0800 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2015-12-02 13:06:08 -0800 |
commit | 0c60dedb47073a149f9bb52057563b20857eabfd (patch) | |
tree | 3c645377b75743f6ab940255fb72b0ba410e863b | |
parent | a92b163ec46e36eef828c620543aa88e95c48b1f (diff) | |
parent | 0469948b230196bdb4e8e51e0df50853ad2d0d17 (diff) | |
download | async-0c60dedb47073a149f9bb52057563b20857eabfd.tar.gz |
Merge pull request #971 from hotaru355/master
Bug fix #968: uddate Readme for `async.every()`
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -627,9 +627,9 @@ __Arguments__ * `iterator(item, callback)` - A truth test to apply to each item in the array in parallel. The iterator is passed a `callback(truthValue)` which must be called with a boolean argument once it has completed. -* `callback(result)` - *Optional* A callback which is called after all the `iterator` - functions have finished. Result will be either `true` or `false` depending on - the values of the async tests. +* `callback(result)` - *Optional* A callback which is called as soon as any iterator returns + `true`, or after all the iterator functions have finished. Result will be + either `true` or `false` depending on the values of the async tests. **Note: the callbacks do not take an error as their first argument.** |