Skip to main content

dispatch_data_event

Function dispatch_data_event 

Source
pub fn dispatch_data_event(
    snapshot: &RegistrySnapshot,
    tag: EventTag,
    data: &str,
) -> bool
Expand description

Build + dispatch a generic data event (JSON payload) to the tag’s handlers. Returns whether any handler was invoked. Used by the B4 provider-hook observer path ([crate::provider_hooks]) which has no matching AgentEvent to translate.