From a6e8b58af80caad55b2da0d3e306e427a9dcc012 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 23 Jun 2021 12:05:02 +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 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)