Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ connect
Function
connect
flow-debugger/debugger-ui/src/websocket.js:42–46 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
40
};
41
42
const
connect = (url) => {
43
if
(!ws.current) {
44
createWebSocket(url);
45
}
46
};
47
48
const
disconnect = () => {
49
ws.current && ws.current.close();
Callers
nothing calls this directly
Calls
1
createWebSocket
Function · 0.85
Tested by
no test coverage detected