Add and update references for libUtils
- Used for extra code that is used in multiple places
This commit is contained in:
7
libUtils.js
Normal file
7
libUtils.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* sleep - sleep/wait
|
||||
* @constructor
|
||||
*/
|
||||
exports.sleep = (ms) => new Promise((resolve) => {
|
||||
setTimeout(resolve, ms);
|
||||
})
|
||||
Reference in New Issue
Block a user