Fix repository delte notification and CLOSE buffering

This commit is contained in:
Jon Staab
2024-06-03 12:27:53 -07:00
parent 35eccf7467
commit d4cecd5e50
4 changed files with 29 additions and 5 deletions
+4
View File
@@ -63,3 +63,7 @@ export function cached<T, V, Args extends any[]>({
return get
}
export function simpleCache<V, Args extends any[]>(getValue: (args: Args) => V) {
return cached({maxSize: 10**10, getKey: xs => xs.join(':'), getValue})
}