API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classSystemRegistry
Ordered registry of per-frame Systems, shared by Scene (as `scene.systems`) and `Application` (as `app.systems`). Systems tick once per frame in ascending `order` (ties keep insertion order) and are destroyed in reverse registration order when the registry is destroyed. Structural mutations made from inside a system's `update()` (a system adding or removing another, or itself) are deferred until the tick completes, so the iteration is never invalidated mid-frame.
import { SystemRegistry } from '@codexo/exojs' Ordered registry of per-frame Systems, shared by Scene (as `scene.systems`) and `Application` (as `app.systems`). Systems tick once per frame in ascending `order` (ties keep insertion order) and are destroyed in reverse registration order when the registry is destroyed.
Structural mutations made from inside a system's `update()` (a system adding or removing another, or itself) are deferred until the tick completes, so the iteration is never invalidated mid-frame.
new(): SystemRegistry add(system: T): T destroy(): void has(system: System): boolean remove(system: System): boolean size: number onAdd: Signal<[system]> onRemove: Signal<[system]>