@twinfinity/entity-referenceFunctionscomponentIdentitycomponentIdentity CallablecomponentIdentity(component: EntityComponent): stringThe component's identity: type:id, stripped of any version. twin:X and twin:X@5 name the same entity, which is why routing keys are built from this and not from the full spelling.Parameterscomponent: EntityComponentReturns string
The component's identity:
type:id, stripped of any version.twin:Xandtwin:X@5name the same entity, which is why routing keys are built from this and not from the full spelling.