I can't get en event to fire when a client subscribe a topic but only when on that topic a message is received. Like if on('subscribe') acts more like on ('publish'). Is there an event that fires just when a user subscribes even if no messages are sent at all ?
I also don't really get how to create a topic with the the dot notation.
for instance, I could send to topic /one/two but not sure if I should listen to subscription to /one.two or one.two´ or /one/two`... could you be more explicit in the documentation or examples maybe ?
I can't get en event to fire when a client subscribe a topic but only when on that topic a message is received. Like if on('subscribe') acts more like on ('publish'). Is there an event that fires just when a user subscribes even if no messages are sent at all ?
I also don't really get how to create a topic with the the dot notation.
for instance, I could send to topic
/one/twobut not sure if I should listen to subscription to/one.twoorone.two´ or/one/two`... could you be more explicit in the documentation or examples maybe ?