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

Method toArray

src/daemon/session-store.ts:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 toArray(): SessionState[] {
38 return Array.from(this.sessions.values());
39 }
40
41 getRuntimeHints(name: string): SessionRuntimeHints | undefined {
42 return this.runtimeHints.get(name);

Callers 5

handleOpenCommandFunction · 0.80
sessionChecksFunction · 0.80
teardownDaemonSessionsFunction · 0.80

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected