You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1256,7 +1256,7 @@ cargo.push({name: 'baz'}, function (err) {
1256
1256
---------------------------------------
1257
1257
1258
1258
<a name="auto" />
1259
-
### auto(tasks, [callback])
1259
+
### auto(tasks, [callback], [concurrency])
1260
1260
1261
1261
Determines the best order for running the functions in `tasks`, based on their requirements. Each function can optionally depend on other functions being completed first, and each function is run as soon as its requirements are satisfied.
1262
1262
@@ -1307,6 +1307,8 @@ __Arguments__
1307
1307
pass an error to their callback. Results are always returned; however, if
1308
1308
an error occurs, no further `tasks` will be performed, and the results
1309
1309
object will only contain partial results.
1310
+
* `concurrency` - An `integer` for determining the maximum number of tasks that
1311
+
can be run in parallel. By default, as many as possible.
0 commit comments