mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 21:51:04 +00:00
Update task.js
This commit is contained in:
parent
fba7e00b68
commit
0e74f3700e
|
@ -1,5 +1,5 @@
|
||||||
//////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////
|
||||||
// Task API (Time-sharing based `async` implementation in WSH.js)
|
// Task API (Time-sharing based `async`, `Promise`, `setTimeout`, `setInterval` implementation in WSH.js)
|
||||||
/////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/* // example:
|
/* // example:
|
||||||
|
@ -178,4 +178,8 @@ exports.setInterval = function() {
|
||||||
// ... todo ...
|
// ... todo ...
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
exports.Promise = function() {
|
||||||
|
// ... todo ...
|
||||||
|
};
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user