Updates the current State of the Task.
Moving to a state with lower order is generally not permitted. (For example, moving from Finished to Ticking is not allowed.)
the target state to move to, handling events as needed.