(key: string, entry: Entry<T>)
| 15 | const now = options.now ?? Date.now |
| 16 | |
| 17 | const dispose = (key: string, entry: Entry<T>) => { |
| 18 | options.dispose?.(entry.value, key) |
| 19 | } |
| 20 | |
| 21 | const expired = (entry: Entry<T>) => { |
| 22 | if (options.ttlMs === undefined) return false |
no test coverage detected