pub fn exec_future<F: Future>(future: F) -> F::Output
Convenience function to run a future until it returns a value
This is useful in synchronous contexts where the .await syntax normally can’t be used