Skip to main content

trigger_break_from_cli

Function trigger_break_from_cli 

Source
pub async fn trigger_break_from_cli(
    app: &AppHandle,
    scheduler: &Scheduler,
    kind: BreakKind,
    duration_secs: u64,
)
Expand description

Fire a one-off break of the given kind right now. Shared by the renderer-facing trigger_test_break and the CLI’s trigger command. Bypasses suppression checks (the user asked explicitly).