mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 20:30:39 -07:00
5 lines
147 B
TypeScript
5 lines
147 B
TypeScript
export interface Cache<T> {
|
|
write (key: string, value: T): void | Promise<void>;
|
|
read (key: string): T | undefined | Promise<T | undefined>;
|
|
}
|