(sessionID: string, count = historyMessagePageSize)
| 1079 | !!meta.cursor[sessionID], |
| 1080 | loading: (sessionID: string) => meta.loading[sessionID] ?? false, |
| 1081 | async loadMore(sessionID: string, count = historyMessagePageSize) { |
| 1082 | touch(sessionID) |
| 1083 | if (meta.loading[sessionID] || meta.complete[sessionID] || !meta.cursor[sessionID]) return |
| 1084 | await loadMessages(sessionID, count, meta.cursor[sessionID], "prepend") |
| 1085 | }, |
| 1086 | }, |
| 1087 | evict(sessionID: string) { |
| 1088 | if (protectedSessions().has(sessionID)) return |
nothing calls this directly
no test coverage detected