use axum::extract::FromRef; use crate::{boot::app::Boot, event::Sequence}; pub async fn resume_point(app: &App) -> Sequence where Boot: FromRef, { Boot::from_ref(app) .snapshot() .await .expect("boot always succeeds") .resume_point }