MCPcopy
hub / github.com/Effect-TS/effect / send

Function send

packages/rpc/src/RpcServer.ts:1064–1068  ·  view source on GitHub ↗
(clientId, response)

Source from the content-addressed store, hash-verified

1062 return Effect.succeed({
1063 disconnects,
1064 send(clientId, response) {
1065 const client = clients.get(clientId)
1066 if (!client) return Effect.void
1067 return client.write(response)
1068 },
1069 end(clientId) {
1070 const client = clients.get(clientId)
1071 if (!client) return Effect.void

Callers 4

handleEncodeFunction · 0.70
sendRequestDefectFunction · 0.70
sendDefectFunction · 0.70
RpcServer.tsFile · 0.70

Calls 4

encodeMethod · 0.80
getMethod · 0.65
writeMethod · 0.65
offerMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…