Skip to main content

resume_last_break_impl

Function resume_last_break_impl 

Source
pub async fn resume_last_break_impl(
    app: &AppHandle,
    scheduler: &Scheduler,
) -> Result<(), String>
Expand description

Re-fire the most recently skipped/postponed break with the current profile’s full settings (duration, hints, enforceability). Shared by the renderer command and the tray menu handler. Errors with "no break to resume" when the slot is empty.