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
kian16mo ago
When making the DO binding in the TOML, add a script_name property
Tim Fish
Tim FishOP16mo 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
kian16mo 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