import { syscall } from "./syscall"; export async function invokeFunction( env: string, name: string, ...args: any[] ): Promise { return syscall("system.invokeFunction", env, name, ...args); } export async function reloadPlugs() { syscall("system.reloadPlugs"); }