onChange

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

Registers an onChangeListener, which will be called if the content of this list is mutated.