Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

show queue.push callback as optional in README

  • Loading branch information...
commit d03373932353f63f4d97998b1ed03faf89311abe 1 parent 960b9bf
@caolan caolan authored
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__
Please sign in to comment.
Something went wrong with that request. Please try again.