Skip to content

@web-engine-dev/scheduler


@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 ​

readonly name: string

Unique name of the stage


systems ​

readonly systems: SystemId[]

Systems registered in this stage

Proprietary software. All rights reserved.