(dir: string, id: string | undefined)
| 227 | onCleanup(() => cache.clear()) |
| 228 | |
| 229 | const load = (dir: string, id: string | undefined) => { |
| 230 | const key = sessionKey(dir, id) |
| 231 | return cache.get(key).value |
| 232 | } |
| 233 | |
| 234 | const session = createMemo(() => load(base64Encode(sdk().directory), params.id)) |
| 235 |
no test coverage detected