MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getClientState

Function getClientState

src/components/lspInfoDialog/index.js:35–38  ·  view source on GitHub ↗
(serverId)

Source from the content-addressed store, hash-verified

33}
34
35function getClientState(serverId) {
36 const activeClients = getActiveClients();
37 return activeClients.find((c) => c.server?.id === serverId) || null;
38}
39
40function getStatusColor(status) {
41 switch (status) {

Callers 3

restartServerFunction · 0.85
stopServerFunction · 0.85
index.jsFile · 0.85

Calls 1

getActiveClientsFunction · 0.85

Tested by

no test coverage detected