pub fn spawn_blocking_flatten<F, T>(f: F) -> impl Future<Output = Result<T>>where F: FnOnce() -> Result<T> + Send + 'static, T: Send + 'static,
A wrapper around [tokio::task::spawn_blocking] that flattens nested results.
tokio::task::spawn_blocking