is there a reason we have to do this instead of using the DO stub as if it were an rpc target? [from
is there a reason we have to do this instead of using the DO stub as if it were an rpc target? from the docs:
By writing a Durable Object class which inherits from the built-in type DurableObject, public methods on the Durable Objects class are exposed as RPC methods, which you can call using a DurableObjectStub from a Worker.




