10 lines
207 B
TypeScript
10 lines
207 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);
|
|
}
|