Skip to main content

with_request_executor

Function with_request_executor 

Source
pub async fn with_request_executor<F: Future>(
    executor: Arc<dyn Executor>,
    fut: F,
) -> F::Output
Expand description

Install executor and tag the scope as a request — the path on which a Repo fails closed when no ambient authorization context is present.