From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- node_modules/async/queue.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'node_modules/async/queue.js') diff --git a/node_modules/async/queue.js b/node_modules/async/queue.js index 30ba41cad..0a61736d3 100644 --- a/node_modules/async/queue.js +++ b/node_modules/async/queue.js @@ -46,6 +46,12 @@ module.exports = exports['default']; * task in the list. Invoke with `queue.push(task, [callback])`, * @property {Function} unshift - add a new task to the front of the `queue`. * Invoke with `queue.unshift(task, [callback])`. + * @property {Function} remove - remove items from the queue that match a test + * function. The test function will be passed an object with a `data` property, + * and a `priority` property, if this is a + * [priorityQueue]{@link module:ControlFlow.priorityQueue} object. + * Invoked with `queue.remove(testFn)`, where `testFn` is of the form + * `function ({data, priority}) {}` and returns a Boolean. * @property {Function} saturated - a callback that is called when the number of * running workers hits the `concurrency` limit, and further tasks will be * queued. -- cgit v1.2.3