mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
fix: cache ongoing parseFile() calls, fixes #416
This commit is contained in:
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
export interface Cache<T> {
|
||||
write (key: string, value: T): void | Promise<void>;
|
||||
read (key: string): T | undefined | Promise<T | undefined>;
|
||||
remove (key: string): void | Promise<void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user