@web-engine-dev/scheduler / Stage
Interface: Stage
Execution stage for organizing systems.
Stages run sequentially in their defined order. All systems within a stage complete before the next stage begins.
Example
typescript
// Get all stages from scheduler
const stages: Stage[] = scheduler.getStages();
// Inspect stage contents
for (const stage of stages) {
console.log(`Stage "${stage.name}" has ${stage.systems.length} systems`);
}Properties
name
readonlyname:string
Unique name of the stage
systems
readonlysystems:SystemId[]
Systems registered in this stage