accessCache

abstract fun <R> accessCache(block: (NormalizedCache) -> R): R

Direct access to the cache. This is a synchronous operation that might block if the underlying cache is doing IO.

Parameters

block

a function that can access the cache.