ServiceKeyOptions
Defined in: EngineContext.ts:17
Options passed to new ServiceKey(id, options).
Properties
Section titled “Properties”missingHint?
Section titled “missingHint?”
optionalmissingHint?:string
Defined in: EngineContext.ts:29
Appended to the error thrown when the key resolves nowhere. Name what provides the service, e.g. the plugin to install.
scope?
Section titled “scope?”
optionalscope?:ServiceScope
Defined in: EngineContext.ts:24
Declared scope. "scene" keys are expected to be registered per-scene
via a beforeEnter hook; Component.use will check scene scope first
and warn if it falls back to engine scope.
Default: "engine".
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.