Spaces:
Running
Running
File size: 150 Bytes
450060f |
1 2 3 4 5 6 |
export const sleep = async (durationInMs: number) =>
new Promise((resolve) => {
setTimeout(() => {
resolve(true)
}, durationInMs)
}) |