From d33854a89f90f3f29a459c67841ee6dbb478e902 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 23 Jun 2021 12:06:28 +0900 Subject: [PATCH] Update task.js --- lib/task.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/task.js b/lib/task.js index 4824506..2b9e0a6 100644 --- a/lib/task.js +++ b/lib/task.js @@ -6,8 +6,8 @@ * // var TASK = require("lib/task"); * // 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])) + * // .then(TASK.createTask(function() { console.log('456'); }, [4, 5, 6])) + * // .then(TASK.createTask(function() { TASK.stop(); console.log('789'); }, [7, 8, 9])) * // ; * // taskQueue.run(); */