mirror of
https://github.com/langgenius/dify.git
synced 2025-12-06 07:43:33 +00:00
This PR introduces a `BroadcastChannel` abstraction with broadcasting and at-most once delivery semantics, serving as the communication component between celery worker and API server. It also includes a reference implementation backed by Redis PubSub. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
4 lines
70 B
Python
4 lines
70 B
Python
from .channel import BroadcastChannel
|
|
|
|
__all__ = ["BroadcastChannel"]
|