diff options
author | Caolan McMahon <caolan.mcmahon@gmail.com> | 2014-04-04 10:31:29 +0100 |
---|---|---|
committer | Caolan McMahon <caolan.mcmahon@gmail.com> | 2014-04-04 10:31:29 +0100 |
commit | 398b89511e02f3953d40c5916781cfa4103f9e21 (patch) | |
tree | 9e5efc450e069d70cd0b5f99302b02b6026f0f48 | |
parent | 0ef0a3c5e82571baed547f58fc561aca19ebe3a0 (diff) | |
parent | 0cedc4502b403d33234cc4d88100b5bd976b02bf (diff) | |
download | async-398b89511e02f3953d40c5916781cfa4103f9e21.tar.gz |
Merge pull request #487 from simoami/master
Updated README.md for the new queue.kill() method (Complement to #448 )
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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__ |