Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(
    verdict: &Verdict,
    command_preview: &str,
    webhooks: &[WebhookConfig],
    custom_dlp_patterns: &[String],
)
Expand description

Dispatch webhook notifications for a verdict, if configured.

Spawns a background thread per webhook endpoint. The main thread is never blocked. If any webhook delivery fails after retries, errors are logged to stderr.