Skip to content

Registering an event listener breaks the client #2

Description

@dubanflorin

If I register an event listener with
pclient.On(route, (data)=>{
//process the data
});
the client stops receiving any new message.
It works OK just for the first message.

If I remove the event listener the client works and receives all the messages from the server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions