OnEvict<K, V> typedef

OnEvict<K, V> = void Function(K k, V v)

This method will be called if a value is removed from the storage. It can be used to dispose items

Implementation

typedef void OnEvict<K, V>(K k, V v);