tornadofx / tornadofx / ViewModel / onCommit

onCommit

open fun onCommit(): Unit

This function is called after a successful commit, right before the optional successFn call sent to the commit call is invoked.

open fun onCommit(commits: List<Commit>): Unit

This function is called after a successful commit, right before the optional successFn call sent to the commit call is invoked.

Parameters

commits - A list of the committed properties, including the old and new value