Skip to main content

preview_rule

Function preview_rule 

Source
pub async fn preview_rule(
    t: &Transport,
    source: &str,
    invocations: u32,
    sample: u32,
    space: &str,
) -> Result<PreviewReport>
Expand description

Preview a rule. An existing file path wins; otherwise the source is a rule ID or name from the stack. This supports unpushed local rules.