Skip to content

Commit

Permalink
Merge pull request caolan#971 from hotaru355/master
Browse files Browse the repository at this point in the history
Bug fix caolan#968: uddate Readme for `async.every()`
  • Loading branch information
aearly committed Dec 2, 2015
2 parents a92b163 + 0469948 commit 0c60ded
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**

Expand Down

0 comments on commit 0c60ded

Please sign in to comment.