Skip to main content

check_transitions

Function check_transitions 

Source
pub fn check_transitions(
    entity: &EntityInfo,
    old: Option<&Object>,
    new: &Object,
) -> Result<(), SpaceError>
Expand description

Whether a change keeps to the state machines of its entity. Whoever keeps records calls this with what is stored and what is about to be, before writing, as every space here does.