SetEventBus attaches an event bus for real-time SSE streaming.
(bus events.EventBus)
| 673 | |
| 674 | // SetEventBus attaches an event bus for real-time SSE streaming. |
| 675 | func (s *Server) SetEventBus(bus events.EventBus) { |
| 676 | s.events = bus |
| 677 | } |
| 678 | |
| 679 | // SetCollabRoomManager attaches a Yjs collab RoomManager (PLAN-1248). |
| 680 | // When set, the /api/v1/collab/{itemID} WebSocket endpoint hands new |
no outgoing calls