MCPcopy Index your code
hub / github.com/tinyplex/tinybase / destroy

Function destroy

src/synchronizers/synchronizer-ws-server-simple/index.ts:59–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 const getWebSocketServer = () => webSocketServer;
58
59 const destroy = async () => {
60 collClear(clientsByPath);
61 webSocketServer.close();
62 };
63
64 const wsServerSimple = {
65 getWebSocketServer,

Callers

nothing calls this directly

Calls 2

collClearFunction · 0.90
closeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…