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

Support for Broadcast #14

Open
victorsa72 opened this issue Mar 28, 2023 · 1 comment
Open

Support for Broadcast #14

victorsa72 opened this issue Mar 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@victorsa72
Copy link

victorsa72 commented Mar 28, 2023

Support for Broadcast

Requesting support for Broadcast functionality, as described here: https://supabase.com/docs/guides/realtime/extensions/broadcast

I believe the solution would be to add a new ChannelEvent enum (.broadcast) with all the associated fix ups for init(), isLifeCycleEvent() and rawValue.

Additional reference from https://supabase.com/docs/guides/realtime/protocol:

{
   "event": "broadcast",
   "topic": string,
   "payload": {
      "event": string,
      "payload": {[key: string]: boolean | number | string | null | undefined},
      "type": "broadcast"
   },
   "ref": null
}
@victorsa72 victorsa72 added the enhancement New feature or request label Mar 28, 2023
@foodisbeast
Copy link

foodisbeast commented Sep 5, 2023

If still in need try update-upstream branch (see #26)

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