Skip to main content

with_request_scope

Function with_request_scope 

Source
pub async fn with_request_scope<F, T>(fut: F) -> T
where F: Future<Output = T>,
Expand description

Run a future within a fresh per-request mount scope. Hooked from the spark.scope middleware.