Skip to content

Commit

Permalink
add apply signature
Browse files Browse the repository at this point in the history
  • Loading branch information
freewind committed May 17, 2012
1 parent 6b403c7 commit 5b752d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ var log = t.log;
* 等价于:
* async.apply(t.inc, 3);
*/
// apply(function, arguments..)

async.parallel([
async.apply(t.inc, 3),
async.apply(t.fire, 100)
Expand Down

0 comments on commit 5b752d0

Please sign in to comment.