invoke

abstract operator fun <V : SettingValue<T>, T> invoke(def: SettingDef<V>): T(source)

用法:val prompt: String = setting(SystemPrompt())