diff options
author | Alexander Early <alexander.early@gmail.com> | 2015-05-22 10:29:39 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2015-05-22 10:29:39 -0700 |
commit | 3a2aed948bad7add462cbc1ffa357baef6d6589a (patch) | |
tree | bae429d402a1b1fb54875c4dddc5232e99014ac2 | |
parent | a44d11ca95304dca673e6487050e630c2b2d87ee (diff) | |
parent | 8af90e31692db66058df0acb8831922b8a6b9a19 (diff) | |
download | async-3a2aed948bad7add462cbc1ffa357baef6d6589a.tar.gz |
Merge pull request #766 from majecty/patch-1
Update README.md
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1573,9 +1573,9 @@ call_order.push('one') ``` <a name="times" /> -### times(n, callback) +### times(n, iterator, callback) -Calls the `callback` function `n` times, and accumulates results in the same manner +Calls the `iterator` function `n` times, and accumulates results in the same manner you would use with [`map`](#map). __Arguments__ @@ -1604,7 +1604,7 @@ async.times(5, function(n, next){ ``` <a name="timesSeries" /> -### timesSeries(n, callback) +### timesSeries(n, iterator, callback) The same as [`times`](#times), only the iterator is applied to each item in `arr` in series. The next `iterator` is only called once the current one has completed. |