Hi,
as keyv is a very strong proposition for implementing a cache, are there any plans to :
- support setting a maximum size, which would trigger eviction of oldest keys
- support a simple cleanup of expired keys
or may be those have been ruled for simplicity ? in that case, it feels like at least a way to iterate on keys would allow for a wrapper to implement periodic cleanup. If mimicking Map, this could mean implementing keys() as returning an Iterable
The trouble being it needs to be implmented in all stores.
Anyway, your work is very elegant and promising.