You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand why you prefer to keep melody as much simple as possible. However, I'm not really sure what is the recommended way to implement rooms. May I ask for the example or short tutorial?
I would like to see that broadcasting happens for the related room's clients only, without the need to filter all existing server clients.
My first thought was to call m := melody.New() multiple times, for every room, but this is confusing me:
Hello!
I understand why you prefer to keep melody as much simple as possible. However, I'm not really sure what is the recommended way to implement rooms. May I ask for the example or short tutorial?
I would like to see that broadcasting happens for the related room's clients only, without the need to filter all existing server clients.
My first thought was to call m := melody.New() multiple times, for every room, but this is confusing me:
... handler is created only once.
Could you please show how would you implement rooms? Performance among one room's users broadcasting is most important.
The text was updated successfully, but these errors were encountered: