feat(utils): sleep function

a small debug tool
This commit is contained in:
Levi Yan
2024-07-30 23:35:52 +08:00
parent 3b7cf8af57
commit 0f0e336160

View File

@@ -0,0 +1,3 @@
export const Sleep = (ms:number)=> {
return new Promise(resolve=>setTimeout(resolve, ms))
}