lru-cache
GitHub
isaacs projects
benchmark summary
benchmark details
Preparing search index...
LRUCache
SizeCalculator
Type Alias SizeCalculator<K, V>
SizeCalculator
:
(
value
:
V
,
key
:
K
)
=>
Size
A function that returns the effective calculated size of an entry in the cache.
Type Parameters
K
V
Type declaration
(
value
:
V
,
key
:
K
)
:
Size
Parameters
value
:
V
key
:
K
Returns
Size
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
isaacs projects
benchmark summary
benchmark details
lru-cache
Loading...
A function that returns the effective calculated size of an entry in the cache.