T

BuiltIn

A built-in feature exposing optional start/afterAddons/stop lifecycle hooks.

type BuiltIn = { … }

Members

afterAddons?() => void

Runs once the addon managers have loaded their addons, for work that reads them.

shouldStart?() => boolean

Checked once at initialisation; returning false skips registering the built-in.

start?() => void

Runs when the built-in is registered, before the addon managers load; if it throws, the built-in is logged and left inactive.

stop?() => void

Runs when the built-in is unregistered or the built-ins shut down, in reverse start order.