T
TanStack2mo ago
harsh-harlequin

Create CloudFlare Queue Consumers or DOs?

I’m experimenting with Start (for React) on CloudFlare but i’m not seeing a way to add to my CR worker if i want to add a durable object or a queue consumer. I think react router’s solution is to give you a “createRequestHandler” function (https://github.com/remix-run/react-router-templates/blob/main/cloudflare/workers/app.ts) that can be used in your custom worker function (along with things like creating durable objects or whatever). Is there a tanstack start (or nitro or vinxi) equivalent?
GitHub
react-router-templates/cloudflare/workers/app.ts at main · remix-r...
Contribute to remix-run/react-router-templates development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?