Add support for compio #1361
Closed
George-Miao
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm George Miao, co-author and maintainer of compio. I'm opening this discussion to see if it's feasible to have compio support built into openraft, any suggestions will be helpful. Currently openraft has a wonderful
AsyncRuntime
trait with tokio being the only and mandatory implementor, and I'd like to add the second. Here are list of things I'd like to do:AsyncRuntime
for compio, specifically,rand::rngs::ThreadRng
Sleep
andTimeout
future will be boxed dyn future, since compio uses async fn for most functionsInstant
trait is only implemented for tokio one. Compio uses std one, so one more implementation needed.Beta Was this translation helpful? Give feedback.
All reactions