onUpdate

open override fun onUpdate()

Customizable function that runs repeatedly for the entire duration of the command's lifetime.