pub async fn scope<F, R>(locals: TaskLocals, fut: F) -> Rwhere F: Future<Output = R> + Send + 'static,
Set the task local event loop for the given future