mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 21:21:03 +00:00
Update task.js
This commit is contained in:
parent
ada2ea5170
commit
83930e16c8
|
@ -6,8 +6,8 @@
|
||||||
* // var TASK = require("lib/task");
|
* // var TASK = require("lib/task");
|
||||||
* // var queue = TASK.createTaskQueue();
|
* // var queue = 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(createTask(function() { console.log('456'); }, [4, 5, 6]))
|
||||||
* // .then(createTask(function() { console.log('789'); }, [7, 8, 9])
|
* // .then(createTask(function() { console.log('789'); }, [7, 8, 9]))
|
||||||
* // ;
|
* // ;
|
||||||
* // queue.run()
|
* // queue.run()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user