opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
11 lines • 332 B
TypeScript
/**
* Map with a LRU (Least recently used) policy.
*
* @link https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU
*/
export declare class LruMap<value = unknown> extends Map<string, value> {
maxSize: number;
constructor(size: number);
set(key: string, value: value): this;
}
//# sourceMappingURL=lru.d.ts.map