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