diff --git a/src/common/js/utils.js b/src/common/js/utils.js new file mode 100644 index 0000000..51b48a3 --- /dev/null +++ b/src/common/js/utils.js @@ -0,0 +1,3 @@ +export async function sleep(timeout) { + return new Promise( (resolve, reject) => setTimeout(() => resolve(), timeout)); +}