Skip to content

Commit

Permalink
clarify q.kill docs [fixes #1422]
Browse files Browse the repository at this point in the history
  • Loading branch information
hargasinski committed May 25, 2017
1 parent 3cb7c15 commit a024630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/queue.js
Expand Up @@ -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()`.
*/

/**
Expand Down

0 comments on commit a024630

Please sign in to comment.