MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / disconnect

Function disconnect

flow-debugger/debugger-ui/src/websocket.js:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 };
47
48 const disconnect = () => {
49 ws.current && ws.current.close();
50 };
51
52 const send = (seq_id, msg, callback=undefined) => {
53 msg.ty = 'request';

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected