summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7614819..fc565ce 100644
--- a/README.md
+++ b/README.md
@@ -986,6 +986,7 @@ async.waterfall([
});
```
Or, with named functions:
+
```js
async.waterfall([
myFirstFunction,
@@ -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'),