Skip to main content

spawn_future

Function spawn_future 

Source
pub fn spawn_future<F, T>(py: Python<'_>, fut: F) -> PyDataFusionResult<T>
where F: Future<Output = Result<T>> + Send + 'static, T: Send + 'static,
Expand description

Spawn a Future on the Tokio runtime and wait for completion while respecting Python signal handling.