kvision / pl.treksoft.kvision.data / DataContainer / onUpdate

onUpdate

fun onUpdate(handler: () -> Unit): DataContainer<M, C, CONT>

Sets a notification handler called after every update.

Parameters

handler - notification handler

Return
current container