(sessionID: string)
| 438 | ]) |
| 439 | |
| 440 | const touch = (sessionID: string) => |
| 441 | evict( |
| 442 | pickSessionCacheEvictions({ seen, keep: sessionID, limit: SESSION_CACHE_LIMIT, preserve: protectedSessions() }), |
| 443 | ) |
| 444 | |
| 445 | const fetchMessages = async (sessionID: string, limit: number, before?: string, onAttempt?: () => void) => { |
| 446 | const response = await (options?.retry ?? retry)(() => { |