MCPcopy
hub / github.com/marimo-team/marimo / send

Method send

packages/lsp/index.ts:62–69  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

60 }
61
62 send(content: string): void {
63 try {
64 this.webSocket.send(content);
65 this.logger.debug("Sent message:", content);
66 } catch (error) {
67 this.logger.error("Failed to send message:", error);
68 }
69 }
70
71 onMessage(callback: (data: Data) => void): void {
72 this.webSocket.onmessage = (event: MessageEvent) => {

Callers

nothing calls this directly

Calls 3

sendMethod · 0.65
debugMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected