IIdentities

interface IIdentities

Generates unique identifiers for objects in an object graph.

Two types of IDs are supported:

  • Dynamic IDs: Generated for entities created at runtime (via next)

  • Stable IDs: Hash-based IDs for statically known entities like extensions (via mix)

Inheritors

Properties

Link copied to clipboard
abstract val dynamicKind: IdKind

Functions

Link copied to clipboard
abstract fun mix(rdId: RdId, tail: String): RdId

Creates a stable identifier by mixing the parent ID with a string key.

Link copied to clipboard
abstract fun next(parent: RdId): RdId

Generates the next unique dynamic identifier for a runtime-created entity.