CacheDurationResolver<K, V> typedef

CacheDurationResolver<K, V> = Duration Function(K key, V value)

Should return the duration of the cache.

Implementation

typedef CacheDurationResolver<K, V> = Duration Function(K key, V value);