CachedProperty

class CachedProperty<out T>(loader: () -> T) : ReadOnlyProperty<Any, T>

Functions

getValue
Link copied to clipboard
common
open operator override fun getValue(thisRef: Any, property: KProperty<*>): T
invalidate
Link copied to clipboard
common
fun invalidate()

Properties

loader
Link copied to clipboard
common
val loader: () -> T
value
Link copied to clipboard
common
var value: CachedProperty.CachedValue<T>