lru-cache
GitHub
isaacs projects
benchmark summary
benchmark details
Preparing search index...
LRUCache
InsertReason
Type Alias InsertReason
InsertReason
:
"add"
|
"update"
|
"replace"
The reason why an item was added to the cache, passed to the
Inserter
methods.
add
: the item was not found in the cache, and was added
update
: the item was in the cache, with the same value provided
replace
: the item was in the cache, and replaced
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
isaacs projects
benchmark summary
benchmark details
lru-cache
Loading...
The reason why an item was added to the cache, passed to the Inserter methods.
add
: the item was not found in the cache, and was addedupdate
: the item was in the cache, with the same value providedreplace
: the item was in the cache, and replaced