Function biodivine_sketchbook::sketchbook::event_utils::mk_model_state_change
source · pub(crate) fn mk_model_state_change<'a, T: JsonSerde<'a>>(
at_path: &[&str],
payload: &T,
) -> EventExpand description
Prepare “state-change” event for the model component of the sketch, given
at_path - a path suffix used at the model level, and potential payload.
Payload can be any struct that implements JsonSerde.