Skip to main content

persist_on_shutdown

Function persist_on_shutdown 

Source
pub(crate) async fn persist_on_shutdown(shared_state: &Arc<Mutex<AppState>>)
Expand description

Persist final state and any pending retries on graceful shutdown.