lru-cache
    Preparing search index...

    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