thunk

val thunk: (config: ItemContainer) -> T

Thunk used to evaluate value for this item.

ItemContainer is provided as evaluation environment to avoid unexpected modification to config. Thunk will be evaluated every time when needed to reflect modifying of other values in config.

Sources

jvm source
Link copied to clipboard