Signed-off-by: 吴文峰 <kevin@lmve.net>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export function PromiseTimeout(timeoutMs: number = 10000) : Promise<void> {
|
||||
return new Promise((resolve) => setTimeout(resolve, timeoutMs))
|
||||
}
|
||||
Reference in New Issue
Block a user