Function pyo3_asyncio::tokio::scope

source ·
pub async fn scope<F, R>(locals: TaskLocals, fut: F) -> Rwhere
    F: Future<Output = R> + Send + 'static,
Expand description

Set the task local event loop for the given future