feat(webui): search loaded message text in Ctrl+K
This commit is contained in:
1 parent
8af6313c56
commit
e821144c7e
22 files changed
+396
-23
No files matched your search
@@ -18,6 +18,11 @@ export class MemoryLruCache<T> {
|
||||
return entry.value;
|
||||
}
|
||||
|
||||
/** Read without making a background observer retain an otherwise old entry. */
|
||||
peek(key: string): T | undefined {
|
||||
return this.entries.get(key)?.value;
|
||||
}
|
||||
|
||||
set(key: string, value: T): void {
|
||||
this.delete(key);
|
||||
const bytes = this.estimate(value);
|
||||
|
||||
Reference in new issue
Block a user