-
Notifications
You must be signed in to change notification settings - Fork 1
runtime: Support async-std #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Another strategy is runtime-agnostic way like hyper does if we can share the rest of the code but spawning. Agnostik is a library for this purpose but it unfortunately seems unmaintained. Good articles about runtime agnostic: |
https://www.reddit.com/r/rust/comments/fo98kc/announcing_agnostik_executor_agnostic_runtime/ I learned there is an alternative of agnostik called async_executors. This one looks more maintained and supports more runtimes including glommio. (blog: https://blog.wnut.pw/2020/02/25/anouncing-async_executors-a-building-block-for-executor-agnostic-libraries/) This one looks fascinating to me. |
In async-executors, the API is not provided to use the current global Tokio runtime. The discussion is here |
Unlike tokio one, JoinHandle in async-executors doesn't have |
Experimental branch is here https://github.com/akiradeveloper/norpc/tree/generic-runtime |
done. |
Uh oh!
There was an error while loading. Please reload this page.
Aside one for tokio, better to have a runtime support for async-std.
The text was updated successfully, but these errors were encountered: