MCPcopy
hub / github.com/audreyt/ethercalc / disconnect

Function disconnect

packages/socketio-shim/src/client/legacy-io.ts:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 (listeners[event] ??= []).push(cb);
97 },
98 disconnect(): void {
99 try {
100 ws.close();
101 } catch {
102 // Already closed.
103 }
104 },
105 };
106 }
107

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected