MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / handle_connect

Function handle_connect

scripts/dashboard.py:2854–2860  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2852
2853@socketio.on("connect")
2854def handle_connect():
2855 connected_clients.add(request.sid)
2856 if log_manager:
2857 session = log_manager.subscribe(request.sid, None)
2858 if session:
2859 session.emit_full_state(request.sid)
2860 emit("log_selected", {"path": str(session.path)})
2861
2862
2863@socketio.on("disconnect")

Callers

nothing calls this directly

Calls 2

subscribeMethod · 0.80
emit_full_stateMethod · 0.80

Tested by

no test coverage detected