cache library

Classes

Cache<K, V>
A semi-persistent mapping of keys to values.
MapCache<K, V>
A Cache that's backed by a Map.

Typedefs

Loader<K, V> = FutureOr<V> Function(K key)
A function that produces a value for key, for when a Cache needs to populate an entry.