MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / leftClient

Function leftClient

packages/agent-core/src/rpc/client.ts:94–97  ·  view source on GitHub ↗
(self: PromisableMethods<Left>)

Source from the content-addressed store, hash-verified

92 }
93
94 async function leftClient(self: PromisableMethods<Left>): Promise<RPCMethods<Right>> {
95 left.resolve(bindAllFunctions(self));
96 return objectMap(await right, (key, fn) => [key, mapRpcFunction(fn)]) as RPCMethods<Right>;
97 }
98
99 async function rightClient(self: PromisableMethods<Right>): Promise<RPCMethods<Left>> {
100 right.resolve(bindAllFunctions(self));

Callers

nothing calls this directly

Calls 3

bindAllFunctionsFunction · 0.85
mapRpcFunctionFunction · 0.85
resolveMethod · 0.65

Tested by

no test coverage detected