MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / send

Function send

graph-ui/tools/agent-bridge.mjs:238–244  ·  view source on GitHub ↗
(client, name, payload)

Source from the content-addressed store, hash-verified

236 };
237
238 const send = (client, name, payload) => {
239 try {
240 client.write(`event: ${name}\ndata: ${JSON.stringify(payload)}\n\n`);
241 } catch {
242 clients.delete(client);
243 }
244 };
245
246 const broadcast = (events) => {
247 for (const client of clients) {

Callers 4

broadcastFunction · 0.70
startBridgeFunction · 0.70
th_send_allFunction · 0.50
ipc_test_socket_send_allFunction · 0.50

Calls 1

writeMethod · 0.45

Tested by 2

th_send_allFunction · 0.40
ipc_test_socket_send_allFunction · 0.40