feat: sleep function

This commit is contained in:
rhunk
2024-04-23 00:39:29 +02:00
committed by GitHub
parent 5c2d92047e
commit b1997526df

2
index.d.ts vendored
View File

@@ -54,6 +54,8 @@ declare function findClass(className: string, useModClassLoader?: boolean): Clas
declare function setField(instance: any, fieldName: string, value: any | undefined): void;
declare function getField(instance: any, fieldName: string): any | undefined;
declare function sleep(durationMs: number);
declare module "hooker" {
enum stage {
BEFORE = "before",