Cached Property
fun <out T : Any, out E : Any> CachedProperty(instance: E, hint: CachedProperty.CacheHint = CacheHint.None, maker: E.() -> T)
Content copied to clipboard
Parameters
instance
a tracked object. If instance implements StateTrackable interface the StateTrackable.revision will be used; Any.hashCode otherwise.
hint
a some CacheHint for cache strategy.
maker
a maker of a value which holds in a property.