You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
202 B
9 lines
202 B
5 months ago
|
export interface CommonCache<K, V> {
|
||
|
has(key: K): boolean;
|
||
|
get(key: K): V | undefined;
|
||
|
set(key: K, value: V): V;
|
||
|
delete(key: K): boolean;
|
||
|
clean(): void;
|
||
|
readonly size: number;
|
||
|
}
|