Is the client subscribed to a topic?
Symbol
ServerWebSocket.isSubscribed
@param topic
The topic name.
ws.subscribe("chat");
console.log(ws.isSubscribed("chat")); // true
Symbol
Is the client subscribed to a topic?
The topic name.
ws.subscribe("chat");
console.log(ws.isSubscribed("chat")); // true