ConfigurationProvider
Interface: ConfigurationProvider
Service that can store configuration
Methods
canTriggerConfiguration()
canTriggerConfiguration(
id,callback):boolean
Return true if the service can detect modification
If false, then ConfigurationService will set an interval and check every checkInterval @{ConfigurationServiceParameters.checkInterval}
Parameters
• id: string
of the source to check
• callback: () => void
to call if source has changed
Returns
boolean
Source
packages/core/src/services/configuration.ts:23
getConfiguration()
getConfiguration(
id):Promise<Object>
Parameters
• id: string
of the configuration to retrieve
Returns
Promise<Object>