Asynchronously invokes actionFn once for each key-value pair present in the config object.
The function (key: string, value: ConfigValue) => Promise<void> to be called for each element.
Removes all key/value pairs from the config object.
Returns an array of ConfigEntry for each element in the config.
Invokes actionFn once for each key-value pair present in the config object.
The function (key: string, value: ConfigValue) => void to be called for each element.
Returns the value associated to the key, or undefined if there is none.
The key.
Returns the entire config contents.
Returns the list of keys that contain a value.
The value to filter keys on.
Returns a boolean asserting whether a value has been associated to the key in the config object or not.
The key.
Asynchronously initializes newly constructed instances of a concrete subclass.
Returns an array that contains the keys for each element in the config object.
Sets the value for the key in the config object.
The Key.
The value.
Returns the config object.
Sets the entire config contents.
The contents.
Convert an object to a ConfigContents and set it as the config contents.
The object.
Convert the config object to a JSON object.
Returns the config contents. Same as calling ConfigStore.getContents
Returns true if an element in the config object existed and has been removed, or false if the element does not exist. {@link BaseConfigStore.has(key)} will return false afterwards.
The key.
Returns true if all elements in the config object existed and have been removed, or false if all the elements do not exist (some may have been removed). {@link BaseConfigStore.has(key)} will return false afterwards.
The keys.
Returns an array that contains the values for each element in the config object.
Asynchronously constructs and initializes a new instance of a concrete subclass with the provided options.
An options object providing initialization params to the async constructor.
An abstract class that implements all the config management functions but none of the storage functions.
Note: To see the interface, look in typescripts autocomplete help or the npm package's ConfigStore.d.ts file.
{ConfigStore}