Skip to content

Entity

Entity ID management utilities.

entity_id_generator()

Yield an infinite sequence of monotonically increasing entity IDs.

new_entity_id()

Return a newly allocated unique entity ID.

new_entity_ids(n)

Return n fresh entity IDs as a list.