I'm making a chat application in seamless and I have a get_members method in my ChatRoom class.
Now, I want the client to render the result of get_members when they press a button, but I also don't want the method
to be scoped to each client (because it uses the same ChatRoom instance for all the members).
Is it possible to force a callable to be a global event? Maybe using some force_global_event decorator on my method?
Thank you in advance :D
I'm making a chat application in seamless and I have a
get_membersmethod in myChatRoomclass.Now, I want the client to render the result of
get_memberswhen they press a button, but I also don't want the methodto be scoped to each client (because it uses the same
ChatRoominstance for all the members).Is it possible to force a callable to be a global event? Maybe using some
force_global_eventdecorator on my method?Thank you in advance :D