marvinlanhenke commented on issue #124:
URL: https://github.com/apache/iceberg-rust/issues/124#issuecomment-2089542654
in order to verify my understanding and possibly kick of a design
discussion, we could follow the approach of `sqlx`:
- have a `runtime.rs`
- to define a `Runtime` trait
- based on a feature-flag import / re-export the implementors of that trait
- have a /runtime module with specific runtime implementations
- that implement the `Runtime` trait
For our particular use-case (loading manifest / or DataFiles on multiple
threads) we could e.g. wrap `tokio::spawn` with our runtime and we're good to
go? Then the `Runtime` trait would evolve to support more "use-cases"?
--
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]