mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +00:00
Update task.js
This commit is contained in:
parent
1810c5f59f
commit
2fe4601ad9
|
@ -90,7 +90,7 @@ exports.createTaskQueue = function() {
|
|||
return new TaskQueue();
|
||||
};
|
||||
|
||||
exports.createTask = function(q, f, params) {
|
||||
exports.buildTask = function(q, f, params) {
|
||||
try {
|
||||
if (q instanceof TaskQueue) {
|
||||
return new Task(q.lastId, f, params);
|
||||
|
|
Loading…
Reference in New Issue
Block a user