You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can work as long as you disable sse and tcp_listener module, which used task::spawn which is not available on wasm platform for async-std.
You can use the tide::Server::respond method to convert from worker::Request and into worker::Response.
One thing you might be careful is that the worker::Request take js_sys::Uint8Array as body input, so you need to serde_json::to_vec, convert vec![] to Uint8Array and convert array into JsValue so that it can send to other worker endpoints, such as durable_object.
my demo repo
As you can see, I get it working for both worker and durable-object which both are powered by tide and async-graphql.
Hi folks, with the news that Cloudflare Workers now supports Rust directly I'm curious what would be required to deploy a Tide app to this surface?
I believe there's some prior art involving AWS Lambda but I'm not sure if that's applicable here.
The text was updated successfully, but these errors were encountered: