Function pyo3_asyncio::async_std::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