diff --git a/lib/task.js b/lib/task.js index 8e46e15..a2accdd 100644 --- a/lib/task.js +++ b/lib/task.js @@ -7,9 +7,9 @@ * // var queue = TASK.createTaskQueue(); * // TASK.putTask(queue, function() { console.log('123'); }, [1, 2, 3]) * // .then(createTask(function() { console.log('456'); }, [4, 5, 6])) - * // .then(createTask(function() { console.log('789'); }, [7, 8, 9])) + * // .then(createTask(function() { TASK.stop(); console.log('789'); }, [7, 8, 9])) * // ; - * // queue.run() + * // queue.run(); */ var Task = function(f, params)