UNPKG

transitory

Version:

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

14 lines 496 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RemovalReason = void 0; /** * The reason something was removed from a cache. */ var RemovalReason; (function (RemovalReason) { RemovalReason["EXPLICIT"] = "explicit"; RemovalReason["REPLACED"] = "replaced"; RemovalReason["SIZE"] = "size"; RemovalReason["EXPIRED"] = "expired"; })(RemovalReason = exports.RemovalReason || (exports.RemovalReason = {})); //# sourceMappingURL=RemovalReason.js.map