UNPKG

transitory

Version:

In-memory cache with high hit rates via LFU eviction. Supports time-based expiration, automatic loading and metrics.

21 lines 725 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MAINTENANCE = exports.ON_MAINTENANCE = exports.TRIGGER_REMOVE = exports.ON_REMOVE = exports.PARENT = void 0; exports.PARENT = Symbol('parent'); /** * SPI extension for listening to removal of a wrapped cache. */ exports.ON_REMOVE = Symbol('onRemove'); /** * Shared symbol used for common code that triggers remove listeners. */ exports.TRIGGER_REMOVE = Symbol('triggerRemove'); /** * SPI extension for listening to eviction events. */ exports.ON_MAINTENANCE = Symbol('onMaintenance'); /** * Shared symbol used for common code related to maintenace. */ exports.MAINTENANCE = Symbol('maintenance'); //# sourceMappingURL=symbols.js.map