Skip to content

Interface: ConfigBoundCreateOptions

Defined in: packages/core/src/configBound.ts:69

Options for creating a ConfigBound.

Properties

PropertyTypeDescriptionDefined in
binds?Bind[]Binds attached to the created ConfigBound instance.packages/core/src/configBound.ts:73
cacheMode?CacheModeCache 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?LoggerLogger used by ConfigBound and sections.packages/core/src/configBound.ts:75
name?stringName used for the created ConfigBound instance.packages/core/src/configBound.ts:71
validateOnInit?booleanValidates configuration immediately after creation.packages/core/src/configBound.ts:77