refactor structure to monorepo

This commit is contained in:
bossgeekgo
2024-02-11 19:56:29 +08:00
parent c108dd6b37
commit ae3f57ae34
19 changed files with 4602 additions and 95 deletions
+9
View File
@@ -0,0 +1,9 @@
export function sleep (t) {
return new Promise(resolve => {
setTimeout(resolve, t)
})
}
export function sleepWithRandomDelay (base) {
return sleep(base + Math.random()*1000)
}