T

BuiltIn

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

type BuiltIn = { … }

Members

shouldStart?() => boolean

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

start?() => void

Runs when the built-in is registered; 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.