Skip to content

off/once method cannot be used for client events #773

Closed
@thully

Description

@thully

Recently, client events were given their own separate "on" method:

on(clientEvent:callback:)

However, there is no matching "off" method that accepts a SocketClientEvent, nor is there a once method to add a handler for one-time execution. We can work around this by using UUID, though it would be more convenient to have once/off methods.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions