Skip to main content

schedule_shutdown_after

Function schedule_shutdown_after 

Source
fn schedule_shutdown_after(
    scheduled: &mut Option<ScheduledShutdown>,
    current_session: u64,
) -> bool
Expand description

Schedules a shutdown after current_session, keeping the session of a shutdown that is already due by then. Returns whether the schedule changed.