MCPcopy Create free account
hub / github.com/astercloud/aster / disconnect

Function disconnect

ui/src/composables/useWebSocket.ts:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

disconnectMethod · 0.45

Tested by

no test coverage detected