Trait pyo3_asyncio::generic::SpawnLocalExt[][src]

pub trait SpawnLocalExt: Runtime {
    fn spawn_local<F>(fut: F) -> Self::JoinHandle
    where
        F: Future<Output = ()> + 'static
; }
Expand description

Extension trait for async/await runtimes that support spawning local tasks

Required methods

Spawn a !Send future onto this runtime’s event loop

Implementors