cruhl
cruhl6mo ago

Does anyone have an example of subscriptions implemented in CloudFlare Workers?

I'm trying to use subscriptions via WebSocket in CloudFlare Workers, but it's been a real pain so far. Looking for any advice, thanks in advance!
3 Replies
BeBoRE
BeBoRE6mo ago
There is currently no adapter for CloudFlare Workers subscriptions, you'd have to implement one yourself
cruhl
cruhl6mo ago
Yep, finally got it working, wasn't too bad, but still need to implement the hibernation API
BeBoRE
BeBoRE5mo ago
Oh, sick. Would you like to share your implementation?