Add disconnect/reconnect commands
This commit is contained in:
parent
4b165054a4
commit
f35f316577
2 changed files with 44 additions and 15 deletions
|
@ -88,4 +88,10 @@ export default {
|
|||
}
|
||||
app.client.send({ command: "TOPIC", params });
|
||||
},
|
||||
"reconnect": (app, args) => {
|
||||
app.reconnect();
|
||||
},
|
||||
"disconnect": (app, args) => {
|
||||
app.disconnect();
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue