Skip to content

Conversation

foodisbeast
Copy link

What kind of change does this PR introduce?

feature, docs update

What is the current behavior?

ChannelEvent is missing events broadcast and presence. This prevents sending Presence track and untrack messages, as well as broadcast messages.

What is the new behavior?

  • Added broadcast and presence event to ChannelEvent enum.
  • Added track and untrack functions to Channel. (See supabase docs for Presence and RealtimeChannel.ts from realtime-swift.
  • Added helper function broadcast to Channel (Broadcast from supabase docs)
  • Added docs demonstrating usage of new Broadcast and Presence functions

@grdsdev grdsdev merged commit 0d3eea7 into supabase-community:update-upstream Aug 2, 2023
This was referenced Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants