transitory
Version:
In-memory cache with high hit rates via LFU eviction. Supports time-based expiration, automatic loading and metrics.
18 lines (17 loc) • 520 B
TypeScript
export declare const PARENT: unique symbol;
/**
* SPI extension for listening to removal of a wrapped cache.
*/
export declare const ON_REMOVE: unique symbol;
/**
* Shared symbol used for common code that triggers remove listeners.
*/
export declare const TRIGGER_REMOVE: unique symbol;
/**
* SPI extension for listening to eviction events.
*/
export declare const ON_MAINTENANCE: unique symbol;
/**
* Shared symbol used for common code related to maintenace.
*/
export declare const MAINTENANCE: unique symbol;