Function event_with_payload
pub fn event_with_payload(event_type: &str, payload: &'static [u8]) -> EventExpand description
Builds an event with a distinct payload, for checking round-tripping.
ยงPanics
Panics if event_type is invalid. Test-only helper.