onChange

fun onChange(block: suspend (T) -> Unit)(source)

Registers a new onChange listener, which will be called if the value of this property is updated.