Can I use the same durable object class in more than one worker?

If so, how would this work in wrangler.toml?
3 Replies
kian
kian2y ago
When making the DO binding in the TOML, add a script_name property
Tim Fish
Tim FishOP2y ago
ok thanks. In that case it looks like the durable object class needs to be in one of the workers rather than in come common package
kian
kian2y ago
You could have a single Worker whose only purpose is exporting that DO, but yeah
Want results from more Discord servers?
Add your server