()
| 105 | } |
| 106 | |
| 107 | function getPathToIdCache(): Map<string, string> { |
| 108 | if (!globalThis.__piPathToSessionIdCache) globalThis.__piPathToSessionIdCache = new Map(); |
| 109 | return globalThis.__piPathToSessionIdCache; |
| 110 | } |
| 111 | |
| 112 | export async function resolveSessionPath(sessionId: string): Promise<string | null> { |
| 113 | const cached = getPathCache().get(sessionId); |
no outgoing calls
no test coverage detected