Skip to main content

test_event_with_payload

Function test_event_with_payload 

Source
pub fn test_event_with_payload(
    entity_id: &str,
    event_type: &str,
    payload: Value,
) -> Event
Expand description

Create a test event with a custom JSON payload.