Function pyo3::impl_::coroutine::new_coroutine
source · pub fn new_coroutine<F, T, E>(
name: &Bound<'_, PyString>,
qualname_prefix: Option<&'static str>,
throw_callback: Option<ThrowCallback>,
future: F
) -> Coroutine
Available on crate feature
experimental-async
only.