Skip to main content

emit_event

Function emit_event 

Source
pub fn emit_event(
    workspace_id: &str,
    channel_id: &str,
    kind: &ContextEventKindV1,
    actor: Option<&str>,
    payload: Value,
)
Expand description

Convenience: append an event to the global bus with metrics tracking.