pub(crate) async fn async_task_with_spinner<F, T>(msg: &str, f: F) -> Twhere
F: Future<Output = T>,Expand description
Call an async task function, and write a message to stderr with an automatic spinner to show that we’re not blocked. Note that generally the called function should not output anything to stderr as this will interfere with the spinner.