invalidate

abstract suspend fun invalidate(key: K)

Invalidates the value (if any) for the given key, removing it from the cache regardless. This method has no effect if the given key is not present in the cache.

Parameters

key

The key for which to invalidate a value