@jsvision/i18n / CatalogSource
Interface: CatalogSource
Defined in: types.ts:219
An asynchronous provider of one or more catalog inputs.
Network, authentication, timeout, retry, and cache policy remain the caller's responsibility.
Properties
name
readonlyname:string
Defined in: types.ts:221
Stable value-free identifier used by diagnostics.
required?
readonlyoptionalrequired?:boolean
Defined in: types.ts:223
Whether a failure aborts loading. Defaults to true.
Methods
load()
load(
context):Promise<unknown>
Defined in: types.ts:230
Loads catalog inputs for one atomic service publication.
Parameters
context
Shared cancellation context.
Returns
Promise<unknown>
One catalog input or an ordered list of catalog inputs.