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
kian11mo ago
When making the DO binding in the TOML, add a script_name property
Tim Fish
Tim Fish11mo 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
kian11mo ago
You could have a single Worker whose only purpose is exporting that DO, but yeah