1
0
silverbullet/packages/plugos-silverbullet-syscall/system.ts
Zef Hemel 76636dd9b1 Work
2022-04-26 19:04:36 +02:00

14 lines
288 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() {
return syscall("system.reloadPlugs");
}