MCPcopy Create free account
hub / github.com/AICoderTudou/claude-code-tudou / sendEvent

Function sendEvent

desktop/main.cjs:76–79  ·  view source on GitHub ↗
(channel, payload)

Source from the content-addressed store, hash-verified

74}
75
76function sendEvent(channel, payload) {
77 if (!mainWindow || mainWindow.isDestroyed()) return;
78 mainWindow.webContents.send(channel, payload);
79}
80
81function parseEnvLines(raw) {
82 const lines = raw.split(/\r?\n/);

Callers 2

sendViaClaudeCliFunction · 0.85
main.cjsFile · 0.85

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected