ecsia-monorepo / three/src / SystemDefLike
Interface: SystemDefLike
Defined in: three/src/schema.ts:56
A defineSystem-compatible system descriptor. Declared structurally over @ecsia/core's public World + ComponentDef rather than importing @ecsia/scheduler, so this bridge package keeps its narrow dependency footprint (core + schema) and is never on the scheduler's import graph. The shape is byte-compatible with @ecsia/scheduler's SystemDef — pass the returned object straight into createScheduler(world, [...]).
Properties
name
ts
readonly name: string;Defined in: three/src/schema.ts:57
read?
ts
readonly optional read?: readonly ComponentDef<Readonly<Record<string, FieldToken>>, string>[];Defined in: three/src/schema.ts:58
write?
ts
readonly optional write?: readonly ComponentDef<Readonly<Record<string, FieldToken>>, string>[];Defined in: three/src/schema.ts:59
run
ts
readonly run: (ctx) => void;Defined in: three/src/schema.ts:60
Parameters
| Parameter | Type |
|---|---|
ctx | SystemContextLike |
Returns
void