| 34 | TurboModuleRegistry.getEnforcing<Spec>("NativeGodotModule"); |
| 35 | |
| 36 | export interface GodotModuleInterface { |
| 37 | createInstance(args: Array<string>): any; |
| 38 | getInstance(): any; |
| 39 | API(): any; |
| 40 | updateWindow(windowName: string): any; |
| 41 | pause(): void; |
| 42 | resume(): void; |
| 43 | is_paused(): boolean; |
| 44 | runOnGodotThread<T>(f: () => T): Promise<T>; |
| 45 | destroyInstance(): void; |
| 46 | crash(): void; |
| 47 | } |
| 48 | |
| 49 | console.log("Loading NativeGodotModule..."); |
| 50 |
no outgoing calls
no test coverage detected