Skip to content

Commit

Permalink
show queue.push callback as optional in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Caolan McMahon committed Nov 17, 2010
1 parent 960b9bf commit d033739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -671,7 +671,7 @@ methods:
* concurrency - an integer for determining how many worker functions should be
run in parallel. This property can be changed after a queue is created to
alter the concurrency on-the-fly.
* push(task, callback) - add a new task to the queue, the callback is called
* push(task, [callback]) - add a new task to the queue, the callback is called
once the worker has finished processing the task.

__Example__
Expand Down

0 comments on commit d033739

Please sign in to comment.