MCPcopy Create free account
hub / github.com/tiann/hapi / getSessions

Method getSessions

hub/src/sync/sessionCache.ts:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 }
26
27 getSessions(): Session[] {
28 return Array.from(this.sessions.values())
29 }
30
31 getSessionsByNamespace(namespace: string): Session[] {
32 return this.getSessions().filter((session) => session.namespace === namespace)

Callers 3

getActiveSessionsMethod · 0.95
reloadAllMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected