marko.333
marko.333
Explore posts from servers
CDCloudflare Developers
Created by marko.333 on 10/24/2024 in #durable-objects
Hello.
Thx for the tip, i came to the same conclusion. Another option i was considering is creating a hack/temp project that has a consolidated toml with all DO's and Workers (to force them into the same process). But i think the proxy idea is less intrusive.
3 replies
CDCloudflare Developers
Created by marko.333 on 10/24/2024 in #durable-objects
Hello.
OK, i mistakenly had the DO bindings in the DO toml (instead of the Worker toml). So i got past the Promise error, but now i'm getting this error...
Cannot access MyDurableObject#sayHello as Durable Object RPC is not yet supported between multiple wrangler dev sessions.
Getting a dejavu i looked it up. Seems to be a known issue... https://github.com/cloudflare/workers-sdk/issues/5918 This is frustrating on two levels.
(1) The doc suggests that Remote-Procedure-Calls work for Durable Objects, which burned a lot of my time when the issue could have at least been noted in the doc? (2) It is taking a long time to fix this, with no feedback, ETA, or workaround? Does anyone from Cloudflare have any insight? Thx.
3 replies
CDCloudflare Developers
Created by marko.333 on 9/8/2024 in #workers-help
Best practice for local development with multiple workers using RPC bindings?
Sorry, my mistake (i ran into an unrelated bug).
I am now able to use RPC to call between two Workers started with wrangler dev .
2 replies
CDCloudflare Developers
Created by marko.333 on 9/7/2024 in #workers-help
Can an external http client make an RPC call to a Worker?
That's too bad, but thanks for the response.
3 replies