[Pkg-javascript-commits] [node-async] 57/480: show queue.push callback as optional in README
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit d03373932353f63f4d97998b1ed03faf89311abe
Author: Caolan McMahon <caolan at caolanmcmahon.com>
Date: Wed Nov 17 19:29:32 2010 +0000
show queue.push callback as optional in README
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 9592c27..4faed71 100644
--- a/README.md
+++ b/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__
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list