What it meansFactory and id services assign and track ids so repeated access can reuse existing entries instead of recreating them.
Key pointsReuse cached entries when id and context match.Manage lifecycle with reference counting/dispose where required.Keep id generation stable for equivalent inputs.
Related docsKeyedInstanceFactoryId-keyed instance lifecycle base→sequence-idStable id generation services→