1
0
silverbullet/plugos-silverbullet-syscall/system.ts
2022-04-05 17:02:17 +02:00

10 lines
210 B
TypeScript

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