cacheOf

abstract suspend fun <T : Any> cacheOf(valueType: KClass<T>, namespace: String): Cache<T>

Gets the cache for objects of valueType in the given namespace.