diff --git a/lib/task.js b/lib/task.js index 5f810c2..17837fa 100644 --- a/lib/task.js +++ b/lib/task.js @@ -9,7 +9,7 @@ * // .then(TASK.createTask(function() { console.log('456'); sleep(200); }, [4, 5, 6])) * // .then(TASK.createTask(function() { TASK.stop(); console.log('789'); sleep(300); }, [7, 8, 9])) * // ; - * // TASK.putTask(queue, function() { console.log('321'); sleep(100); }, [3, 2, 1) + * // TASK.putTask(queue, function() { console.log('321'); sleep(100); }, [3, 2, 1]) * // .then(TASK.createTask(function() { console.log('654'); sleep(200); }, [6, 5, 4])) * // .then(TASK.createTask(function() { TASK.stop(); console.log('987'); sleep(300); }, [9, 8, 7])) * // ;