useConfiguration
inline fun <T : RootConfig> TegralApplicationDsl.useConfiguration(noinline configuration: ConfigLoaderBuilder.() -> Unit = {})
Content copied to clipboard
Equivalent to TegralApplicationDsl.useConfiguration, but uses a reified type instead.
For example, useConfiguration<MyConfig>()
is strictly equivalent to calling useConfiguration(MyConfig::class)
.