Skip to main content

pause_impl

Function pause_impl 

Source
pub async fn pause_impl(scheduler: &Scheduler, duration_secs: Option<u64>)
Expand description

Pause-state mutation core: updates the in-memory state, persists, logs the event, and fires pause_start hooks on a true running→paused edge. AppHandle-free so unit tests can drive it.