Skip to main content

trigger_test_break

Function trigger_test_break 

Source
pub async fn trigger_test_break(
    app: AppHandle,
    scheduler: State<'_, Scheduler>,
    kind: BreakKind,
    duration_secs: u64,
) -> Result<(), String>
Expand description

Renderer hook to fire a break immediately — used by the “Test now” buttons on the Schedule tab.