UML states have entry/exit actions, which kstatemachine supports, and also a "do" action which is intended for periodic processing. When "do" is handled by a statechart, it is handled at the leaf state, and then propagated down to every parent recursively so each active state can run their "do" callbacks. I didn't see a way to do this in kstatemachine, maybe I missed it? If not, could this be a feature request?
UML states have entry/exit actions, which kstatemachine supports, and also a "do" action which is intended for periodic processing. When "do" is handled by a statechart, it is handled at the leaf state, and then propagated down to every parent recursively so each active state can run their "do" callbacks. I didn't see a way to do this in kstatemachine, maybe I missed it? If not, could this be a feature request?