lazy
inline fun <T> lazy(name: String? = null, description: String = "", noinline thunk: (config: ItemContainer) -> T): LazyProperty<T>
Content copied to clipboard
Specify a lazy item in this config spec.
Return
a property of a lazy item with prefix of this config spec
Parameters
name
item name without prefix
description
description for this item
thunk
thunk used to evaluate value for this item
Sources
jvm source
Link copied to clipboard