You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
It is possible that if the same client subscribes to the same URI multiple times at the same time, then the WAMP broker might given both subscriptions the same subscription ID
swampyer can now handle this case and will call all handlers for the same subscription ID if an event occurs
The subscribe() method now returns an object with the subscription ID and the original subscription handler itself
This will be useful for uniquely unsubscribing a given handler while leaving any other subscriptions on the same subscription ID unchanged
The unsubscribe() method can now take the object returned by subscribe() and only unsubscribes the given handler by default
If there was only 1 handler for the subscription ID or if the unsubscribeAll argument is set to true then it will initiate a full unsubscribe from the WAMP router
Otherwise, it will just remove the handler from the list of handlers to call when an event occurs on the given subscription ID