cache

suspend fun <K, V> cache(configure: CacheConfigBuilder.() -> Unit): Cache<K, V>(source)

Creates a cache with DSL-style configuration.

Return

a new Cache instance

Parameters

configure

configuration block