Open incepter opened 1 year ago
Add a hook called useEvict that works like this
useEvict
let evict = useEvict(); // later, evict(functionReference, ...args)
This would allow to remove any entry from the current cache by its reference
A global similar API should exist, too.
Add a hook called
useEvict
that works like thisThis would allow to remove any entry from the current cache by its reference
A global similar API should exist, too.