Module
Defined in: src/lib/module/index.ts:157
Module handle returned by registerModule. This is what gets exported from each module and imported by the runtime.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
dependencies | readonly | readonly string[] | Module dependencies. | src/lib/module/index.ts:166 |
getService | public | <T>(ServiceClass: ServiceClass<T>) => T | undefined | Get a service instance by class. | src/lib/module/index.ts:191 |
getServices | public | () => readonly RpcModule[] | Get all registered service instances. | src/lib/module/index.ts:196 |
huds | readonly | FeatureRegistry | HUD features for persistent overlay elements. | src/lib/module/index.ts:176 |
name | readonly | string | Module name. | src/lib/module/index.ts:161 |
pages | readonly | FeatureRegistry | Page features for full-screen UI routes. | src/lib/module/index.ts:171 |
start | public | () => Promise<void> | Start the module. Called by the runtime. | src/lib/module/index.ts:181 |
stop | public | () => Promise<void> | Stop the module. Called by the runtime. | src/lib/module/index.ts:186 |