Open muratmirgun opened 10 months ago
Hey Murat 😄 are there any documentations on all the possible event messages? There is a pretty extensive list over the js side (link), but not sure if that's everything or what they all mean.
Edit: nvm, found the documentation on phoenix framework, which is used to build the realtime server.
Hey @muratmirgun, here are a couple of design decisions that we could make. Currently, realtime-js
allows you to create two channels of the same name, using the same real-time client. Should we:
realtime-js
is lacking in that aspectOn
or at Subscribe
?)Personally, I like second option the most, because it's easiest to implement and it'll probably save developers from having to debug where the heck their events went. Though, I'm not too sure how much we can deviate from realtime-js
behaviour.
We can choose the second method for now if somethings goes wrong we can change it later
Handle necessary events coming from the server and update the channel according to the event.
We can discuss from issue about the Events