MCPcopy Create free account
hub / github.com/tinyplex/tinybase / stopServerClient

Function stopServerClient

src/synchronizers/synchronizer-ws-server/index.ts:167–170  ·  view source on GitHub ↗
(serverClient: ServerClient)

Source from the content-addressed store, hash-verified

165 };
166
167 const stopServerClient = async (serverClient: ServerClient) => {
168 await serverClient[Sc.Persister]?.destroy();
169 await serverClient[Sc.Synchronizer]?.destroy();
170 };
171
172 const getMessageHandler =
173 (clientId: Id, clients: IdMap<WebSocket>, serverClient: ServerClient) =>

Callers 1

index.tsFile · 0.85

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…