create
suspend fun <K, V> create(config: CacheConfig = CacheConfig(), loader: suspend (K) -> V): LoadingCache<K, V>(source)
Creates a new LoadingCache instance.
Return
a new LoadingCache instance
Parameters
config
Configuration for cache behavior
loader
function to load a value when not found in the cache