pub type BackgroundTasksInner = Mutex<Vec<Pin<Box<dyn Future<Output = ()> + Send>>>>;Expand description
Request-scoped background tasks to execute after the response is sent.
This is inspired by FastAPI’s BackgroundTasks. Handlers can enqueue work
that is executed by the server after the main response completes.
Aliased Type§
pub struct BackgroundTasksInner { /* private fields */ }