Page Contents

Home > @loopback/context > DefaultConfigurationResolver > getConfigAsValueOrPromise

DefaultConfigurationResolver.getConfigAsValueOrPromise() method

Signature:

getConfigAsValueOrPromise<ConfigValueType>(key: BindingAddress<unknown>, configPath?: string, resolutionOptions?: ResolutionOptions): ValueOrPromise<ConfigValueType | undefined>;

Parameters

Parameter Type Description
key BindingAddress<unknown>  
configPath string  
resolutionOptions ResolutionOptions  

Returns:

ValueOrPromise<ConfigValueType | undefined>