getIfAvailable

abstract suspend fun getIfAvailable(key: String): C?

Returns the container corresponding to the given key, or null if such a key is not present in the cache.

This function does not wait for the creation of the container if it is in progress, returning null instead.