sync update from LAN repo (source master @ ca48c4ec)
This commit is contained in:
1 parent
8bc8b0e082
commit
ea9dcff9c0
873 files changed
+107866
-14011
No files matched your search
+3
@@ -65,6 +65,9 @@ class MemoryStreamBridge(StreamBridge):
|
||||
|
||||
# -- StreamBridge API ------------------------------------------------------
|
||||
|
||||
def has_stream(self, run_id: str) -> bool:
|
||||
return run_id in self._streams
|
||||
|
||||
async def publish(self, run_id: str, event: str, data: Any) -> None:
|
||||
stream = self._get_or_create_stream(run_id)
|
||||
entry = StreamEvent(id=self._next_id(run_id), event=event, data=data)
|
||||
|
||||
Reference in new issue
Block a user