Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
Tim Fish
Can I use the same durable object class in more than one worker?
If so
, how would this work in
wrangler.toml
wrangler.toml
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,384
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
K
kian
•
7/29/23, 9:30 PM
When making the DO binding in the TOML
, add a script
_name property
T
Tim Fish
OP
•
7/29/23, 9:33 PM
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
K
kian
•
7/29/23, 9:35 PM
You could have a single Worker whose only purpose is exporting that DO
, but yeah
Similar Threads
No such Durable Object class is exported from the worker
CD
Cloudflare Developers / workers-and-pages-help
4mo ago
Impossible to use Durable object with Assets worker
CD
Cloudflare Developers / workers-and-pages-help
9mo ago
Latency on worker and Durable object
CD
Cloudflare Developers / workers-and-pages-help
15mo ago
websocket client in workers / durable object
CD
Cloudflare Developers / workers-and-pages-help
14mo ago