Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
export const sleep = async (durationInMs: number) => | |
new Promise((resolve) => { | |
setTimeout(() => { | |
resolve(true) | |
}, durationInMs) | |
}) |