getOrCompute

abstract suspend fun getOrCompute(key: K): V

Returns value for key or computes ans saves it if it's not found in the cache.