async-args
Advanced tools
Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "async-args", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "A utility for use in conjunction with async.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,2 +40,3 @@ #async-args | ||
* [select](#asyncargsselectselector-selector-) | ||
* [order](#asyncargsorderinteger-integer-) | ||
* [debug](#asyncargsdebugmsg-logger) | ||
@@ -124,2 +125,12 @@ | ||
###AsyncArgs.order([integer], [integer], ...) | ||
Change the order of the arguments. | ||
async.waterfall([ | ||
outputArg1Arg2Arg3, // (next) | ||
AsyncArgs.order(2, 0, 1), // (arg1, arg2, arg3, next) | ||
aFunctionTakingTwoArgs // (arg3, arg1, arg2, next) | ||
], next) | ||
###AsyncArgs.debug([msg, [logger]]) | ||
@@ -126,0 +137,0 @@ |
14700
227