MapOfCachesExtension<K, V, C extends Record, M extends Map<K, V>> extension

on

Methods

equivalentCaches(C context) Iterable<M>

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

getCache(C context, M cacheInstantiator()) → M

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

getIfCached(K key, C context, M cacheInstantiator()) → V?

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

getMultiCached(K key, C context, M cacheInstantiator(), V computer()) → V

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

getMultiCachedAsync(K key, C context, M cacheInstantiator(), FutureOr<V> computer()) FutureOr<V>

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

getMultiCachedAsyncNullable(K key, C context, M cacheInstantiator(), FutureOr<V?> computer()) FutureOr<V?>

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

getMultiCachedNullable(K key, C context, M cacheInstantiator(), V? computer()) → V?

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

isEquivalentContext(C context1, C context2) bool

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension

populateMultiCache(K key, C context, M cacheInstantiator(), V value) → void

Available on Map<C, Map<K, V>>, provided by the MapOfCachesExtension extension