Python callback on local cache TTL expiry
I am looking at utilizing a caching solution to store reference to a memory mapped file. I have a use case where every time stored reference TTLs I need to make sure I close the reference explicitly [Do not want to rely on GC to do it].