UNPKG

transitory

Version:

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

11 lines 362 B
/** * The reason something was removed from a cache. */ export var RemovalReason; (function (RemovalReason) { RemovalReason["EXPLICIT"] = "explicit"; RemovalReason["REPLACED"] = "replaced"; RemovalReason["SIZE"] = "size"; RemovalReason["EXPIRED"] = "expired"; })(RemovalReason || (RemovalReason = {})); //# sourceMappingURL=RemovalReason.js.map