pub async fn synchronize_at_barrier( tasks: Vec<Box<dyn FnOnce(Arc<Barrier>) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send>>, ) -> Result<()>