sync update from LAN repo (source dhk-1 @ 3b1ec5b4)
This commit is contained in:
1 parent
da6521b6cb
commit
264e2200d6
995 files changed
+148105
-13399
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