chickadee » lru-cache » lru-cache-flush!

lru-cache-flush! cacheprocedure

Delete all items in cache. The deleter procedure (if provided to make-lru-cache) is invoked for each item as the item list is traversed from head to tail. If an error occurs in the deleter, the offending item will be left at the head of the cache.