mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-18 02:59:04 +00:00
Update task.js
This commit is contained in:
parent
77fd7fbc77
commit
d33854a89f
|
@ -6,8 +6,8 @@
|
||||||
* // var TASK = require("lib/task");
|
* // var TASK = require("lib/task");
|
||||||
* // var taskQueue = TASK.createTaskQueue();
|
* // var taskQueue = TASK.createTaskQueue();
|
||||||
* // TASK.putTask(queue, function() { console.log('123'); }, [1, 2, 3])
|
* // TASK.putTask(queue, function() { console.log('123'); }, [1, 2, 3])
|
||||||
* // .then(createTask(function() { console.log('456'); }, [4, 5, 6]))
|
* // .then(TASK.createTask(function() { console.log('456'); }, [4, 5, 6]))
|
||||||
* // .then(createTask(function() { TASK.stop(); console.log('789'); }, [7, 8, 9]))
|
* // .then(TASK.createTask(function() { TASK.stop(); console.log('789'); }, [7, 8, 9]))
|
||||||
* // ;
|
* // ;
|
||||||
* // taskQueue.run();
|
* // taskQueue.run();
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user