addListener

fun addListener(listener: (T, T) -> Unit): Long(source)

Add a listener to this KVar. The listener will be called whenever the value property changes.