entry

open suspend fun entry(key: CacheKey): CacheEntry<V>?

Atomically returns the value and its timestamp for key, or null if absent.

Prefer this over separate value/timestamp calls when both are needed: a single lookup cannot observe a value and a timestamp from two different writes. The default implementation composes value and timestamp and is therefore not atomic; thread-safe caches should override it.