Function pyo3_asyncio::tokio::init_current_thread[][src]

pub fn init_current_thread()

Initialize the Tokio Runtime with current-thread scheduler

Panics

This function will panic if called a second time. See init_current_thread_once if you want to avoid this panic.