Skip to content

Force seamless to register event as global #65

@binyamin555

Description

@binyamin555

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions