MCPcopy Create free account
hub / github.com/ethanniser/the-beth-stack / open

Function open

packages/beth-stack/src/cli/index.ts:18–21  ·  view source on GitHub ↗
(ws)

Source from the content-addressed store, hash-verified

16const app = new Elysia()
17 .ws("/ws", {
18 open(ws) {
19 // console.log("open");
20 wsConnections.add(ws);
21 },
22 close(ws) {
23 // console.log("close");
24 wsConnections.delete(ws);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected