summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCaolan McMahon <caolan.mcmahon@gmail.com>2014-04-04 10:31:29 +0100
committerCaolan McMahon <caolan.mcmahon@gmail.com>2014-04-04 10:31:29 +0100
commit398b89511e02f3953d40c5916781cfa4103f9e21 (patch)
tree9e5efc450e069d70cd0b5f99302b02b6026f0f48 /README.md
parent0ef0a3c5e82571baed547f58fc561aca19ebe3a0 (diff)
parent0cedc4502b403d33234cc4d88100b5bd976b02bf (diff)
downloadasync-398b89511e02f3953d40c5916781cfa4103f9e21.tar.gz
Merge pull request #487 from simoami/master
Updated README.md for the new queue.kill() method (Complement to #448 )
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1ba92d8..6d9a1ff 100644
--- a/README.md
+++ b/README.md
@@ -1092,6 +1092,7 @@ methods:
* `paused` - a boolean for determining whether the queue is in a paused state
* `pause()` - a function that pauses the processing of tasks until `resume()` is called.
* `resume()` - a function that resumes the processing of queued tasks when the queue is paused.
+* `kill()` - a function that empties remaining tasks from the queue forcing it to go idle.
__Example__