State
¶
Source code in docs_src/capo_iot_events/types/state.py
on_enter
instance-attribute
¶
on_enter: NotRequired[OnEnterLifecycle]
When entering this state, perform these actions if the condition is TRUE.
on_exit
instance-attribute
¶
on_exit: NotRequired[OnExitLifecycle]
When exiting this state, perform these actions if the specified condition is TRUE.
on_input
instance-attribute
¶
on_input: NotRequired[OnInputLifecycle]
When an input is received and the condition is TRUE, perform the specified actions.