pub fn node_state_from_result( node: &NodeEventContext, result: CapabilityCallResult, state: u32, ) -> RtdlEvent