pub fn wait_for_future<F>(py: Python<'_>, f: F) -> F::Outputwhere
    F: Send + Future,
    F::Output: Send,
Expand description

Utility to collect rust futures with GIL released