Skip to content
Browse files

show queue.push callback as optional in README

  • Loading branch information...
1 parent 960b9bf commit d03373932353f63f4d97998b1ed03faf89311abe @caolan caolan committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -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__

0 comments on commit d033739

Please sign in to comment.
Something went wrong with that request. Please try again.