Function rust_utils::futures::exec_future
source · pub fn exec_future<F: Future>(future: F) -> F::Output
Expand description
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