Skip to main content

skip_next_break_impl

Function skip_next_break_impl 

Source
pub async fn skip_next_break_impl(
    scheduler: &Scheduler,
    kind: BreakKind,
) -> Result<(), String>
Expand description

Skip-next mutation core. Resets the per-kind interval anchor to Instant::now(), clears warn/deferred flags, zeroes the postpone counter, bumps the session skip total, logs, and fires hooks. AppHandle-free; the wrapper handles IPC emits.