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

Method getSessionsByNamespace

hub/src/sync/syncEngine.ts:185–187  ·  view source on GitHub ↗
(namespace: string)

Source from the content-addressed store, hash-verified

183 }
184
185 getSessionsByNamespace(namespace: string): Session[] {
186 return this.sessionCache.getSessionsByNamespace(namespace)
187 }
188
189 getFutureScheduledMessageCounts(sessionIds: string[], now: number = Date.now()): Map<string, number> {
190 return this.store.messages.countFutureScheduledBySessionIds(sessionIds, now)

Callers 5

getSessionOrAnswerFunction · 0.45
collectImportCandidatesFunction · 0.45
createSessionsRoutesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected