feat:提交
This commit is contained in:
7
tests/dev1/dataHandle/common/Sleep.ts
Normal file
7
tests/dev1/dataHandle/common/Sleep.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export async function Sleep(time: number)
|
||||
{
|
||||
return new Promise((res) =>
|
||||
{
|
||||
setTimeout(res, time)
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user