Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare pub/sub support #102

Open
1 task done
zAlweNy26 opened this issue Jan 3, 2025 · 2 comments
Open
1 task done

Cloudflare pub/sub support #102

zAlweNy26 opened this issue Jan 3, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@zAlweNy26
Copy link

zAlweNy26 commented Jan 3, 2025

Describe the feature

I saw that the publish/subscribe feature of crossws is not implemented in the Cloudflare adapter but only with "durable objects" (which I honestly don't know what they are and how to use them with NuxtHub).

// not supported

Could I ask why is it missing? Is there something I don't know that make it impossible to do? I'd like to have them because I'm using NuxtHub (which is based on Cloudflare essentially) and I'm using the experimental websockets feature of nitro.
If it's not possible, how can I "switch" to use Durable Objects?

Additional information

  • Would you be willing to help implement this feature?
@zAlweNy26 zAlweNy26 added the enhancement New feature or request label Jan 3, 2025
@atinux
Copy link
Member

atinux commented Jan 22, 2025

Hey @zAlweNy26

Actually as NuxtHub don't support CF Workers at the moment with Durable Objects, I am currently working on it as we speak and will write the docs on how to use it soon!

@zAlweNy26
Copy link
Author

@atinux awesome, keep up the good work 💪🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants