feat: cache everything in node store not only wasm

This commit is contained in:
2025-12-05 14:19:29 +01:00
parent 73be4fdd73
commit 3565a18364
3 changed files with 82 additions and 34 deletions

View File

@@ -83,7 +83,7 @@ export interface AsyncCache<T = unknown> {
* @param key - The key to get the value for
* @returns The value for the given key, or undefined if no such value exists
*/
get: (key: string) => Promise<T | undefined>;
get: <A = T>(key: string) => Promise<A | undefined>;
/**
* Set the value for the given key
* @param key - The key to set the value for