1
0
silverbullet/packages/plugos-silverbullet-syscall/system.ts
2022-04-26 20:31:31 +02:00

14 lines
281 B
TypeScript

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