MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / broadcast

Method broadcast

ocr-viewer/backend/main.py:45–47  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

43 await websocket.send_text(message)
44
45 async def broadcast(self, message: str):
46 for connection in self.active_connections:
47 await connection.send_text(message)
48
49
50conn_mgr = ConnectionManager()

Callers 1

process_ocr_wsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected