Observable

class Observable<T>(val initial: T, val before: (T) -> Unit = {}, val after: (T) -> Unit = {})

Constructors

Link copied to clipboard
constructor(initial: T, before: (T) -> Unit = {}, after: (T) -> Unit = {})

Properties

Link copied to clipboard
val after: (T) -> Unit
Link copied to clipboard
val before: (T) -> Unit
Link copied to clipboard
Link copied to clipboard
val initial: T

Functions

Link copied to clipboard
operator fun getValue(obj: Any, prop: KProperty<*>): T
Link copied to clipboard
operator fun setValue(obj: Any, prop: KProperty<*>, value: T)