Interface: ConfigBoundCreateOptions
Defined in: packages/core/src/configBound.ts:69
Options for creating a ConfigBound.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
binds? | Bind[] | Binds attached to the created ConfigBound instance. | packages/core/src/configBound.ts:73 |
cacheMode? | CacheMode | Cache initialization strategy. Defaults to eager. - eager: Cache is populated at startup. Allows synchronous reads via getFromCache() immediately after createConfig() resolves — useful in constructors or other sync-only call sites that cannot await. - manual: Cache is not populated until you explicitly call populateCache(). Use this when you only read config asynchronously via get() or getOrThrow() and want to avoid the upfront startup cost. | packages/core/src/configBound.ts:84 |
logger? | Logger | Logger used by ConfigBound and sections. | packages/core/src/configBound.ts:75 |
name? | string | Name used for the created ConfigBound instance. | packages/core/src/configBound.ts:71 |
validateOnInit? | boolean | Validates configuration immediately after creation. | packages/core/src/configBound.ts:77 |