Interface HasOptions<K, V, FC>

Options that may be passed to the LRUCache#has method.

Type Parameters

  • K

  • V

  • FC

Hierarchy

  • Pick<OptionsBase<K, V, FC>, "updateAgeOnHas">
    • HasOptions

Properties

status?: Status<V>
updateAgeOnHas?: boolean

Update the age of items on LRUCache#has, renewing their TTL

Has no effect if OptionsBase.ttl is not set.

Default

false

Generated using TypeDoc