lazySet

open override fun <T> lazySet(item: Item<T>, thunk: (config: ItemContainer) -> T)

Associate item with specified thunk, which can be used to evaluate value for the item.

Parameters

item

config item

thunk

thunk used to evaluate value for the item

open override fun <T> lazySet(name: String, thunk: (config: ItemContainer) -> T)

Find item with specified name, and associate item with specified thunk, which can be used to evaluate value for the item.

Parameters

name

item name

thunk

thunk used to evaluate value for the item