MCPcopy
hub / github.com/alm-tools/alm / Message

Interface Message

src/socketLib/socketLib.ts:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19// Parent makes queries<T>
20// Child responds<T>
21export interface Message<T> {
22 message: string;
23 id: string;
24 data?: T;
25 error?: {
26 method: string;
27 message: string;
28 stack: string;
29 details: any;
30 };
31 /** Is this message a request or a response */
32 isRequest: boolean;
33}
34
35export interface CastMessage<T> {
36 message: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected