MCPcopy Create free account
hub / github.com/Effect-TS/effect / end

Function end

packages/effect/src/unstable/rpc/RpcServer.ts:1105–1109  ·  view source on GitHub ↗
(clientId)

Source from the content-addressed store, hash-verified

1103 return client.write(response)
1104 },
1105 end(clientId) {
1106 const client = clients.get(clientId)
1107 if (!client) return Effect.void
1108 return client.end
1109 },
1110 clientIds: Effect.sync(() => clientIds),
1111 initialMessage: Effect.succeedNone,
1112 supportsAck: false,

Callers 1

onFromServerFunction · 0.70

Calls 2

getMethod · 0.65
endMethod · 0.65

Tested by

no test coverage detected