I believe that section on the docs is more general to Workers, and not specifically related to Durab
I believe that section on the docs is more general to Workers, and not specifically related to Durable Objects. An
RpcTarget class will need to proxy function calls to required stub. In your example, BarRpcTarget needs to extend RpcTarget, and its constructor() should add the required stub which was already pulledby the instanced Worker, and also have class methods that will essentially call this.stub.func() on the actual DO stub. Screenshot is an example of my implementation for RpcTarget


