Function pyo3_asyncio::get_running_loop
source · pub fn get_running_loop(py: Python<'_>) -> PyResult<&PyAny>
Expand description
Get a reference to the Python Event Loop from Rust
Equivalent to asyncio.get_running_loop()
in Python 3.7+.