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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]