You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to know when a cache entry is deleted, so I can do some additional cleanup on it.
For example, let's say an entry is an object that contributes to some global state over time. Even though my object is deleted from cache, the global state will still remain in memory. If I have a delete event hook, I can tell my entry to clean up it's global state.
I'm working on it :)
The text was updated successfully, but these errors were encountered:
I need to know when a cache entry is deleted, so I can do some additional cleanup on it.
For example, let's say an entry is an object that contributes to some global state over time. Even though my object is deleted from cache, the global state will still remain in memory. If I have a
delete
event hook, I can tell my entry to clean up it's global state.I'm working on it :)
The text was updated successfully, but these errors were encountered: