MCPcopy Create free account
hub / github.com/LangGraph-GUI/LangGraph-GUI-backend / get_stream

Method get_stream

src/process_handler.py:81–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 return self._output_queue # return the queue for external subscription
80
81 async def get_stream(self):
82 while True:
83 try:
84 output = await asyncio.wait_for(self._output_queue.get(),timeout=0.1)
85 yield output
86 except asyncio.TimeoutError:
87 if not self._is_running and self._process is None:
88 break #close if process is not running
89 continue

Callers 1

stream_responseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected