MCPcopy
hub / github.com/cpaczek/skylight / send

Method send

web/src/tracker/connection.ts:93–97  ·  view source on GitHub ↗
(msg: TrackerClientMessage)

Source from the content-addressed store, hash-verified

91 }
92
93 send(msg: TrackerClientMessage): void {
94 if (this.ws?.readyState === WebSocket.OPEN) {
95 this.ws.send(JSON.stringify(msg));
96 }
97 }
98
99 subscribe(fn: Listener): () => void {
100 this.listeners.add(fn);

Callers 8

openMethod · 0.95
pickFunction · 0.45
gotoFunction · 0.45
CalibrationWizardFunction · 0.45
ConfigPanelFunction · 0.45
startFunction · 0.45
stopFunction · 0.45
StatusBarFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected