getValue

abstract fun getValue(key: Key): T?

Gets the value registered under key, or null if no value exists.

Throws

If this method is called before registries are frozen (i.e. during bootstrap).