MCPcopy Index your code
hub / github.com/LangGraph-GUI/LangGraph-GUI-backend / notify_subscribers

Method notify_subscribers

src/ServerTee.py:68–73  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

66 # -------------------
67
68 def notify_subscribers(self, message):
69 for subscriber in list(self.subscribers): # copy to avoid mutation during iteration
70 try:
71 subscriber.put_nowait(message)
72 except Exception:
73 pass # subscriber queue full or closed
74
75 def subscribe(self):
76 q = Queue()

Callers 2

writeMethod · 0.95
flushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected