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
b08a9477e6
commit
466c46e6a7
|
@ -231,15 +231,10 @@ function Promise(executor) {
|
|||
this.executor(this.resolve, this.reject);
|
||||
}
|
||||
|
||||
function castToTask(f) {
|
||||
return new Task(f, 0);
|
||||
};
|
||||
|
||||
exports.__taskQueue__ = __taskQueue__;
|
||||
exports.setTimeout = setTimeout;
|
||||
exports.setInterval = setInterval;
|
||||
exports.Promise = Promise;
|
||||
exports.castToTask = castToTask;
|
||||
////////////////////////////////////////////////////
|
||||
// END Global functions
|
||||
////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue
Block a user