Function pyo3_asyncio::async_std::scope[][src]

pub async fn scope<F, R>(event_loop: PyObject, fut: F) -> R where
    F: Future<Output = R> + Send + 'static, 
Expand description

Set the task local event loop for the given future