mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
6 lines
193 B
TypeScript
6 lines
193 B
TypeScript
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>;
|
|
}
|