Coroutine Loading Cache
Functions
Link copied to clipboard
Returns the AsyncLoadingCache
Link copied to clipboard
abstract suspend fun getAll(keys: Iterable<K>, mappingFunction: suspend (Iterable<K>) -> Map<K, V>): Map<K, V>
The coroutines implementation of Cache.getAll
The coroutines implementation of LoadingCache.getAll Attention: It is executed for each key using CoroutineScope.async. There is a cooperative cancel, so if an error occurs on any key, the other async executions are canceled.
Link copied to clipboard
The coroutines implementation of Cache.getIfPresent
Link copied to clipboard
Returns the LoadingCache