summaryrefslogtreecommitdiff
path: root/lib/queue.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/queue.js')
-rw-r--r--lib/queue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/queue.js b/lib/queue.js
index 109ba50..a5ff1c8 100644
--- a/lib/queue.js
+++ b/lib/queue.js
@@ -42,7 +42,7 @@ import queue from './internal/queue';
* @property {Function} pause - a function that pauses the processing of tasks
* until `resume()` is called. Invoke with `queue.pause()`.
* @property {Function} resume - a function that resumes the processing of
- * queued tasks when the queue is paused. Invoke with `queue.length()`.
+ * queued tasks when the queue is paused. Invoke with `queue.resume()`.
* @property {Function} kill - a function that removes the `drain` callback and
* empties remaining tasks from the queue forcing it to go idle. Invoke with `queue.kill()`.
*/