odysa opened a new pull request, #233:
URL: https://github.com/apache/iceberg-rust/pull/233

   Create a `runtime` module exposing functions like `spawn`
   
   Example usage:
   ```rust
        let tasks = manifest_list
               .entries()
               .iter()
               .map(|manifest| {
                   let cloned_manifest = Arc::new(manifest.clone());
                   let file_io = self.file_io.clone();
                   async move { cloned_manifest.load_manifest(file_io).await }
               })
               .map(runtime::spawn)
               .collect_vec();
   
           let manifests: Vec<Manifest> = try_join_all(tasks).await?;
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to