Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolino committed Dec 15, 2015
1 parent 85f4468 commit a3d1e80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,7 @@ async.waterfall([
});
```
Or, with named functions:
```js
async.waterfall([
myFirstFunction,
Expand All @@ -1008,6 +1009,7 @@ function myLastFunction(arg1, callback) {
```
Or, if you need to pass any argument to the first function:
```js
async.waterfall([
async.apply(myFirstFunction, 'zero'),
Expand Down

0 comments on commit a3d1e80

Please sign in to comment.