Skip to content

Commands

Commands(): CommandsDescriptor

Defined in: ecs/commands.ts:39

Ask a system for a command queue: spawning, despawning and adding or removing components, recorded now and applied together.

It flushes when the system returns — on a throw too, and after an async body’s await — so structural edits never land mid-iteration of that system’s queries.

CommandsDescriptor