[Pkg-javascript-commits] [node-async] 403/480: Clarify that `some` and `every` run iterators in parallel in readme

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-async.

commit d1fd53116dfd55d236ac7a305f0dc915d8cda145
Author: David Beck <david at rotundasoftware.com>
Date:   Wed Aug 14 12:04:20 2013 -0700

    Clarify that `some` and `every` run iterators in parallel in readme
---
 README.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index c6130ff..cc19c6e 100644
--- a/README.md
+++ b/README.md
@@ -543,9 +543,9 @@ call returns `true`, the main `callback` is immediately called.
 __Arguments__
 
 * `arr` - An array to iterate over.
-* `iterator(item, callback)` - A truth test to apply to each item in `arr`.
-  The iterator is passed a `callback(truthValue)` which must be called with a 
-  boolean argument once it has completed.
+* `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)` - 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.
@@ -573,9 +573,9 @@ way node libraries work with truth tests like `fs.exists`.
 __Arguments__
 
 * `arr` - An array to iterate over.
-* `iterator(item, callback)` - A truth test to apply to each item in `arr`.
-  The `iterator` is passed a `callback(truthValue)` which must be called with a 
-  boolean argument once it has completed.
+* `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)` - 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.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git



More information about the Pkg-javascript-commits mailing list