Patch wait function

This commit is contained in:
lowlighter
2021-02-02 23:31:41 +01:00
parent da66a7bf8e
commit ae84ae0094

View File

@@ -143,5 +143,5 @@
/** Wait */ /** Wait */
export async function wait(seconds) { export async function wait(seconds) {
await new Promise(solve => setTimeout(solve), seconds*1000) await new Promise(solve => setTimeout(solve, seconds*1000))
} }