MCPcopy
hub / github.com/Doorman11991/smallcode / _notify

Method _notify

src/lsp/client.js:181–185  ·  view source on GitHub ↗
(method, params)

Source from the content-addressed store, hash-verified

179 }
180
181 _notify(method, params) {
182 if (!this.process) return;
183 const msg = { jsonrpc: '2.0', method, params };
184 this.process.stdin.write(encodeMessage(msg));
185 }
186
187 _onData(data) {
188 this.buffer += data;

Callers 2

startMethod · 0.95
getDiagnosticsMethod · 0.95

Calls 2

encodeMessageFunction · 0.85
writeMethod · 0.65

Tested by

no test coverage detected