Skip to content

Commit

Permalink
Merge pull request #766 from majecty/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
aearly committed May 22, 2015
2 parents a44d11c + 8af90e3 commit 3a2aed9
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 @@ -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__
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3a2aed9

Please sign in to comment.