Skip to content

Kiln API / kiln / System

Interface: System ​

A query plus a function. Schedule it with app.add(Phase, system).

Properties ​

PropertyModifierType
[$system]readonlytrue
idreadonlynumber
formreadonlySystemForm
queryreadonlyQueryList | NamedQueries | null
fnreadonly(...args) => void
optionsreadonlySystemOptions
namereadonlystring

Methods ​

named() ​

ts
named(name): this;

Sets the name used in errors and kiln describe.

Parameters ​

ParameterType
namestring

Returns ​

this


after() ​

ts
after(...systems): SystemEntry;

Runs this system after the given systems in the same phase.

Parameters ​

ParameterType
...systemsSystem[]

Returns ​

SystemEntry


before() ​

ts
before(...systems): SystemEntry;

Runs this system before the given systems in the same phase.

Parameters ​

ParameterType
...systemsSystem[]

Returns ​

SystemEntry