Function apollo_framework::config::install[][src]

pub async fn install(platform: Arc<Platform>, auto_reload: bool) -> Arc<Config>
Expand description

Creates an installs a Config for the given platform.

This will read its contents from config/settings.yml and also install a change listener for this file. Note that this listener will only watch the “last modified” date of the file and will not perform a structural comparison. Therefore it is the duty of each config user to gracefully handle partial config changes.

Note that this method is also called by the Builder unless the Config part is disabled.