Skip to content

ServiceKeyOptions

Defined in: EngineContext.ts:5

Options passed to new ServiceKey(id, options).

optional scope?: ServiceScope

Defined in: EngineContext.ts:12

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".