Package-level declarations

Types

Link copied to clipboard
class ExpiringCache<K, V>(val expireIn: Int = 10, val cleanup: Int = 10)

ExpiringCache is a simple cache implementation that stores key-value pairs with an expiration time. It automatically removes expired entries and can be used to cache data that is only valid for a certain period.