Skip to main content

deliver_sleep_break

Function deliver_sleep_break 

Source
fn deliver_sleep_break<R: Runtime>(
    app: &AppHandle<R>,
    sched: &Scheduler,
    s: &Settings,
    intensity: f32,
)
Expand description

Surface a Sleep (bedtime) break: fire the overlay, run the start hook, and log the event. Timer bookkeeping stays with the caller in run_loop. Sleep breaks are always overlay; they never go through the delivery-routing logic used by deliver_scheduled_break.