Function biodivine_sketchbook::sketchbook::event_utils::make_state_change
source · pub(crate) fn make_state_change<'a, T>(path: &[&str], payload: &T) -> Eventwhere
T: JsonSerde<'a>,
Expand description
Shorthand to create a “state-change” event given a path and potential payload.
Payload can be any struct that implements JsonSerde
.