Entities · function

buildSchedule

Order the systems, refusing what cannot be ordered.

Explained in Entities.

function buildSchedule(systems: readonly SystemDefinition[]): Schedule
import { buildSchedule } from '@driftengine/entities';

Parameters

ParameterTypeDescription
systemsreadonly SystemDefinition[]

In depth

Deterministic: the same definitions in the same order produce the same schedule on every machine and every run, which is what a replay of a recorded session depends on.