Replies: 1 comment 1 reply
-
You can add tokio as an optional dependency that is enabled when the server feature is enabled and then use tokio under a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My webapp needs to invoke RPC calls using the tarpc async RPC framework, which uses tokio. However it seems that tokio and wasm are not really compatible.
Ok, it seems like that should be fine. A fullstack app is comprised of a client and server. So I'd like to use tarpc/tokio from the server (non-wasm) only.
But if i even just add a dep on tarpc/tokio, my fullstack build fails with errors in mio/tokio.
So, how can I build the server (only) of a fullstack app to use tarpc+tokio? Is it even possible?
Beta Was this translation helpful? Give feedback.
All reactions