MCPcopy Create free account
hub / github.com/continuedev/continue / send

Method send

extensions/vscode/src/webviewProtocol.ts:18–26  ·  view source on GitHub ↗
(messageType: string, data: any, messageId?: string)

Source from the content-addressed store, hash-verified

16 >();
17
18 send(messageType: string, data: any, messageId?: string): string {
19 const id = messageId ?? uuidv4();
20 this.webview?.postMessage({
21 messageType,
22 data,
23 messageId: id,
24 });
25 return id;
26 }
27
28 on<T extends keyof FromWebviewProtocol>(
29 messageType: T,

Callers 2

respondMethod · 0.95
requestMethod · 0.95

Calls 1

postMessageMethod · 0.80

Tested by

no test coverage detected