Skip to content

Commit

Permalink
added docs for timesLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Early committed Jun 2, 2015
1 parent f1263b3 commit 540e579
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Usage:
* [`nextTick`](#nextTick)
* [`times`](#times)
* [`timesSeries`](#timesSeries)
* [`timesLimit`](#timesLimit)
### Utils
Expand Down Expand Up @@ -1649,6 +1650,11 @@ The same as [`times`](#times), only the iterator is applied to each item in `arr
series. The next `iterator` is only called once the current one has completed.
The results array will be in the same order as the original.
<a name="timesLimit" />
### timesLimit(n, limit, iterator, [callback])
The same as [`times`](#times), except a maximum of `limit` iterators are run at a given time, similar to [`mapLimit`](#mapLimit).
## Utils
Expand Down

0 comments on commit 540e579

Please sign in to comment.