mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 08:55:14 +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:
|
||||
|
@ -178,4 +178,8 @@ exports.setInterval = function() {
|
|||
// ... todo ...
|
||||
}
|
||||
};
|
||||
|
||||
exports.Promise = function() {
|
||||
// ... todo ...
|
||||
};
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user