feat: improve interactivity by predict sessions

This commit is contained in:
d-kimsuon
2025-10-15 01:18:14 +09:00
parent c7d89d47cd
commit 0259e71b44
15 changed files with 186 additions and 84 deletions

View File

@@ -13,7 +13,7 @@ export class FileCacheStorage<const T> {
public static load<const LoadSchema>(
key: string,
schema: z.ZodType<LoadSchema>
schema: z.ZodType<LoadSchema>,
) {
const instance = new FileCacheStorage<LoadSchema>(key);

View File

@@ -1,8 +1,6 @@
export class InMemoryCacheStorage<const T> {
private storage = new Map<string, T>();
public constructor() {}
public get(key: string) {
return this.storage.get(key);
}