Hello. Locally - I would like to have a module (A) with just a Durable Object (no Worker). Anot

Hello.
Locally - I would like to have a module (A) with just a Durable Object (no Worker). Another module (B) has a Worker (could also be a Durable Object). Can the Worker module (B) make an RPC call into DO module (A)? If i try this i get an error...
DataCloneError: Could not serialize object of type "JsRpcPromise".
If i colocate the DO and Worker in the same module, then the call succeeds? Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?