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