Skip to main content

reset_break_stats

Function reset_break_stats 

Source
pub async fn reset_break_stats(
    app: AppHandle,
    scheduler: State<'_, Scheduler>,
) -> Result<(), String>
Expand description

Zero out the in-session counters and emit stats:changed. The persistent event log under events.jsonl is untouched — clear_event_log does that.