Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Possible to subscribe, unsubscribe, and resubscribe? v1.2.0 #79
When I try to subscribe, unsubscribe, and then resubscribe I am getting the error 'Client already subscribed'. When I try subscribing twice to the same path with same socket I just end up getting the data twice.
Here is a code example:
*Both methods live in the same file. The socket client is initiated in another module and required into this one.
When I peek into clientSocket.subscriptions(), it has the path before I unsubscribe and is empty after I unsubscribe. Is this expected behavior?