onClose

fun onClose(handler: () -> Unit)(source)

Add a handler to be called when this KVal is closed.