mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-07 13:49:04 +00:00
Updated AsyncFunction (markdown)
parent
8e7bc4d4b5
commit
5ff003a6b5
|
@ -11,6 +11,7 @@ function main(args) {
|
|||
[5, 4, 3, 2, 1].forEach(function(x) {
|
||||
new AsyncFunction(function() {
|
||||
sleep(x * 1000);
|
||||
console.log(x);
|
||||
}).run();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user