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

Method unsubscribe

scripts/dashboard.py:585–590  ·  view source on GitHub ↗
(self, sid: str)

Source from the content-addressed store, hash-verified

583 return session
584
585 def unsubscribe(self, sid: str) -> None:
586 with self.lock:
587 current = self.sid_to_path.pop(sid, None)
588 if not current:
589 return
590 self._leave_room(sid, current)
591
592 def _leave_room(self, sid: str, path_str: str) -> None:
593 session = self.sessions.get(path_str)

Callers 1

handle_disconnectFunction · 0.80

Calls 1

_leave_roomMethod · 0.95

Tested by

no test coverage detected