Skip to content

twine / ConfiguredModule

Interface: ConfiguredModule

Defined in: module.interface.ts:62

A pre-instantiated, configured module - the NestJS forRoot/forFeature analogue. A feature that needs per-use config (e.g. a door at a given position) exposes a factory returning one of these, so the same feature can be imported many times with different settings. Build one with defineModule.

Properties

__configured

readonly __configured: true

Defined in: module.interface.ts:63


instance

readonly instance: DatapackModule

Defined in: module.interface.ts:65


metadata

readonly metadata: ModuleMetadata

Defined in: module.interface.ts:64

Released under the MIT License · Credits