13 lines
343 B
TypeScript
13 lines
343 B
TypeScript
// file: crates/apps/game-reflex-poc-tauri/frontend/ts/bridge.ts
|
|
// version: 1
|
|
|
|
import { invoke } from "@tauri-apps/api/core";
|
|
|
|
export async function getRuntimeLabel(): Promise<string> {
|
|
return await invoke<string>("get_runtime_label");
|
|
}
|
|
|
|
export async function notifyFrontendReady(): Promise<void> {
|
|
await invoke("frontend_ready");
|
|
}
|