We need to add two new packages to the project: ttlcache and timecache . These packages provide a generic…
We need to add two new packages to the project: ttlcache and timecache . These packages provide a generic…: a task in LegoFlow-SWE (Harbor dataset). This cache must be generic over key and value types, supporting any comparable key and any value. Items expire after a specified duration, and the…
The task
This cache must be generic over key and value types, supporting any comparable key and any value. Items expire after a specified duration, and the cache must actively clean up expired entries (not just lazily on access). The public API must include:
Part of Lego-X/LegoFlow-SWE.