PropInitOnceDelegate

open class PropInitOnceDelegate<T>(val instance: T)

Can be specified as a delegate for some property. Collects all initializers for such properties but does not call them right there. Instead all initializers are called inside applyAllInitFunctions

Constructors

Link copied to clipboard
constructor(instance: T)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val instance: T

Functions

Link copied to clipboard
operator fun getValue(thisRef: Any?, property: KProperty<*>): T
Link copied to clipboard
open fun setInitializer(init: T.() -> Unit)