blob: 7421512d4eb56fd33bdade694e1c4439012717d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use axum::extract::FromRef;
use crate::{boot::app::Boot, event::Sequence};
pub async fn resume_point<App>(app: &App) -> Sequence
where
Boot: FromRef<App>,
{
Boot::from_ref(app)
.snapshot()
.await
.expect("boot always succeeds")
.resume_point
}
|