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

Function dispatch

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

Source from the content-addressed store, hash-verified

5let wsConnections = new Set<ElysiaWS<any, any>>();
6
7function dispatch() {
8 wsConnections.forEach((connection) => {
9 // console.log("sending refresh");
10 connection.send("refresh");
11 });
12}
13
14const port = process.argv[2] || 3001;
15

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected