MCPcopy Create free account
hub / github.com/callstack/agent-device / teardownDaemonSessions

Function teardownDaemonSessions

src/daemon/server/daemon-runtime.ts:148–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 };
147
148 const teardownDaemonSessions = async (): Promise<void> => {
149 const sessionsToStop = sessionStore.toArray();
150 await Promise.all(sessionsToStop.map(teardownDaemonSession));
151 };
152
153 const openDaemonServers = async (): Promise<{
154 servers: DaemonServer[];

Callers 1

shutdownFunction · 0.85

Calls 1

toArrayMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…