MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / do

Method do

packages/message/client.ts:38–40  ·  view source on GitHub ↗
(action: string, params?: any)

Source from the content-addressed store, hash-verified

36 }
37
38 do<T = any>(action: string, params?: any): Promise<T | undefined> {
39 return sendMessage<T>(this.msgSender, `${this.prefix}${action}`, params);
40 }
41
42 async doThrow<T = any>(action: string, params?: any): Promise<T> {
43 const ret = await sendMessage<T>(this.msgSender, `${this.prefix}${action}`, params);

Callers 1

pageLoadMethod · 0.95

Calls 1

sendMessageFunction · 0.70

Tested by

no test coverage detected