MCPcopy
hub / github.com/tinyplex/tinybase / destroy

Function destroy

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

Source from the content-addressed store, hash-verified

273 });
274
275 const destroy = async () => {
276 collClear(clientsByPath);
277 await promiseAll(mapMap(serverClientsByPath, stopServerClient));
278 webSocketServer.close();
279 };
280
281 const wsServer = {
282 getWebSocketServer,

Callers

nothing calls this directly

Calls 4

collClearFunction · 0.90
promiseAllFunction · 0.90
mapMapFunction · 0.90
closeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…