Companion

Creates a ReloadableConfig with load.

Functions

Link copied to clipboard
fun <T : Any> load(load: ConfigLoader.() -> ConfigResult<T>, context: CoroutineContext = EmptyCoroutineContext, sources: ConfigLoaderBuilder.() -> Unit): ReloadableConfig<T>

Loads the config for the first time.