()
| 53 | }; |
| 54 | |
| 55 | const disconnect = () => { |
| 56 | if (wsInstance) { |
| 57 | wsInstance.disconnect(); |
| 58 | wsInstance = null; |
| 59 | isConnected.value = false; |
| 60 | connectionUrl.value = ""; |
| 61 | } |
| 62 | }; |
| 63 | |
| 64 | const getInstance = () => wsInstance; |
| 65 |
nothing calls this directly
no test coverage detected