config

fun config(block: ConfigBuilder.() -> Unit): Config

Creates a Config instance using Kotlin DSL syntax.

Return

A new Config instance with the specified configuration.

Parameters

block

The configuration block to apply to the ConfigBuilder.