Skip to content

@web-engine-dev/scheduler


@web-engine-dev/scheduler / SystemId

Type Alias: SystemId

SystemId = string | symbol

Unique identifier for a system.

Can be a string for simple identification or a Symbol for guaranteed uniqueness.

Example

typescript
// String identifiers for simple cases
const movementId: SystemId = 'movement';

// Symbol identifiers for guaranteed uniqueness
const PHYSICS: SystemId = Symbol('physics');
const RENDER: SystemId = Symbol('render');

Proprietary software. All rights reserved.