MCPcopy Create free account
hub / github.com/canwhite/Krebs / registerJsFunction

Method registerJsFunction

tools/lua-runtime.ts:18–18  ·  view source on GitHub ↗
(name: string, fn: (...args: any[]) => any)

Source from the content-addressed store, hash-verified

16 execute(script: string, params?: Record<string, unknown>): Promise<unknown>;
17 isReady(): boolean;
18 registerJsFunction(name: string, fn: (...args: any[]) => any): void;
19}
20
21/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected