Skip to content

Commit 0469948

Browse files
committed
Bug fix #968: uddate Readme for async.every()
1 parent a92b163 commit 0469948

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,9 @@ __Arguments__
627627
* `iterator(item, callback)` - A truth test to apply to each item in the array
628628
in parallel. The iterator is passed a `callback(truthValue)` which must be
629629
called with a boolean argument once it has completed.
630-
* `callback(result)` - *Optional* A callback which is called after all the `iterator`
631-
functions have finished. Result will be either `true` or `false` depending on
632-
the values of the async tests.
630+
* `callback(result)` - *Optional* A callback which is called as soon as any iterator returns
631+
`true`, or after all the iterator functions have finished. Result will be
632+
either `true` or `false` depending on the values of the async tests.
633633

634634
**Note: the callbacks do not take an error as their first argument.**
635635

0 commit comments

Comments
 (0)