componentId

inline fun <T> componentId(): ComponentId

Gets or registers the id of a component of type T


Gets or registers the id of a component by its kType.


fun componentId(kClass: KClass<*>): ComponentId

Gets or registers the id of a component by its kClass.


Deprecated

Should not be getting an id for an id!

Replace with

componentId(component)