useConfiguration

inline fun <T : RootConfig> TegralApplicationDsl.useConfiguration(noinline configuration: ConfigLoaderBuilder.() -> Unit = {})

Equivalent to TegralApplicationDsl.useConfiguration, but uses a reified type instead.

For example, useConfiguration<MyConfig>() is strictly equivalent to calling useConfiguration(MyConfig::class).