mirror of
https://github.com/musix-org/musix-oss
synced 2025-12-02 19:53:40 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
3
src/funcs/sleep.js
Normal file
3
src/funcs/sleep.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function (milliseconds) {
|
||||
return new Promise((resolve) => setTimeout(resolve, milliseconds));
|
||||
};
|
||||
Reference in New Issue
Block a user