From a024630253b3ab10d9612e6cebbb98338d7af1f1 Mon Sep 17 00:00:00 2001 From: Hubert Argasinski Date: Wed, 24 May 2017 21:53:09 -0400 Subject: [PATCH] clarify q.kill docs [fixes #1422] --- lib/queue.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/queue.js b/lib/queue.js index 2d0abb7a9..2ba1747b3 100644 --- a/lib/queue.js +++ b/lib/queue.js @@ -51,7 +51,8 @@ import wrapAsync from './internal/wrapAsync'; * @property {Function} resume - a function that resumes the processing of * 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()`. + * empties remaining tasks from the queue forcing it to go idle. No more tasks + * should be pushed to the queue after calling this function. Invoke with `queue.kill()`. */ /**