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

onUpdate

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

Sets a notification handler called after every update.

Parameters

handler - notification handler

Return
current container